[R] How to return a big treelike list from .Call Interface (protect stack overflow)

2003-11-18 Thread Jens Oehlschlägel
I try to create a big treelike list structure using the RDefines/RInternal macros. The tree carries information at each node (attribute list) and at each leaf (vector). My understanding is that for each node I add to the binary tree I have to call PROTECT(newnode = NEW_LIST(2)); and cannot

Re: [R] How to return a big treelike list from .Call Interface (protect stack overflow)

2003-11-18 Thread Peter Dalgaard
Jens Oehlschlägel [EMAIL PROTECTED] writes: I try to create a big treelike list structure using the RDefines/RInternal macros. The tree carries information at each node (attribute list) and at each leaf (vector). My understanding is that for each node I add to the binary tree I have to call