Displaying 1 result from an estimated 1 matches for "icumm".
Did you mean:
cumm
2010 Jan 24
1
recursive data-structures in R - An S4 "node" Class
Hi,
In an effort to learn S4 objects, I am trying to port some c based tree
code to S4 object. My immediate goal is to use .Call() interface for
calling my c code from R. My long term goal is to understand how to write c
structs that follows S4 classes and not the other-way-around.
The c struct for the node is :
typedef struct node{
int c;
int n;
inode **nodes; //length = n
} inode;
I