[R-sig-hpc] How to shorten an atomic vector without copying?

Jens Oehlschlägel Jens.Oehlschlaegel at truecluster.com
Sun Apr 15 12:54:50 CEST 2012


Hi Performance gurus,

Does any of you know how to shorten an atomic vector without copying the 
contents to a new vector? The official SET_LENGTH and lengthgets seem to 
create a new atomic vector rather than realloc the old one.

Jens Oehlschlägel



More information about the R-sig-hpc mailing list