search for: pricestr

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

Did you mean: prices_tr
2006 Nov 17
1
Manipulating R lists in C
...can't assign the names to the list items - any suggestions? Below is what I already have - any comments on things I don't really need to do as well in terms of creating extra string objects etc are also helpful. Many thanks Tom ======EXTRACT========= SEXP typeStr, volumeStr, priceStr, typeValStr; SEXP priceList; // create main list of vectors (unspecific items ) PROTECT( priceList = allocVector( VECSXP, 3 ) ); // for each item create a label and attach value PROTECT( typeValStr = allocVector( STRSXP, 1 ) ); SET_STRING_ELT( typeValStr, 0, mkChar( getPriceDa...