search for: tree_char

Displaying 1 result from an estimated 1 matches for "tree_char".

Did you mean: tre_wchar
2006 Aug 21
1
return tree from .Call
...urning a large tree structure is daunting. Here is some rough code I was thinking about using to do this. Any suggestions or help will be greatly appreciated! SEXP list ; PROTECT( list = allocVector(VECSXP, tree->size) ) ; for( i = 0; i < tree->size; ++i ){ SEXP node, tree_double, tree_char, tree_int, tree_voidPTR ; PROTECT( tree_double = NEW_NUMERIC( tree->weight ) ) ; PROTECT( tree_char = NEW_CHARACTER( tree->name ) ) ; PROTECT( tree_int = NEW_INTEGER( tree->exons ) ) ; PROTECT( tree_voidPTR = NEW_CHARACTER( tree->data ) ) ; ??? not sure about this...