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

[...]


______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to