search for: 041871

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

Did you mean: 041671
2003 Dec 12
3
C++: Appending Values onto an R-Vector.
...space actually pre-allocated?) for the vector (say with NEW_INTEGER(n) rather than NEW_INTEGER(0)) and insert values into the allocated slots, the code works fine. If you'd like to see some test code, I've already posted it here: https://www.stat.math.ethz.ch/pipermail/r-help/2003-December/041871.html Here's my question, then: Is SET_LENGTH() the appropriate way to create space for tacking values onto the end of an R-vector in C++, or should I be trying to tack them on in some other way? Thanks again! -- Jim Java