[R] copying R objects in C
Roger D. Peng
rpeng at jhsph.edu
Thu May 6 17:17:34 CEST 2004
The source for `duplicate' and its usage in the R source seems to
imply that it copies objects in general.
I've never used it though, so my $0.02 has been devalued.
-roger
Csardi Gabor wrote:
> answer to myself:
>
> the 'duplicate' function does this, am I right?
> It seems so....
>
> Gabor
>
> On Thu, May 06, 2004 at 02:18:19AM +0200, Csardi Gabor wrote:
>
>>Dear R Users,
>>
>>do you know a way to copy an R object using C code? I know that
>>there is a copyMatrix and also a copyVector function. There is
>>also something called copyListMatrix, what is this good for? Is
>>there anything for copying a list (of course deep copy is
>>needed)?
>>
>>Thank you for your help,
>>Gabor
>
> [...]
>
More information about the R-help
mailing list