[R] Only referenc copy when calling C routine?

Thomas Lumley tlumley at u.washington.edu
Mon Apr 12 16:32:11 CEST 2004


On Sun, 11 Apr 2004, Shin, Daehyok wrote:

> Thanks, Andy.
> Let me ask a little more about the DUP argument.
> In the manual, I can see that only reference copy happens when passing an
> array,
> if DUP=FALSE. Then, what happens when returning it in a list, if DUP=FALSE?
> Another reference copy, or deep copy?
>

I think that last time I looked at this my conclusion was that you
shouldn't use lists with DUP=FALSE.  Whoever wrote the comments in the
code also seemed a bit worried.

	-thomas




More information about the R-help mailing list