[R] Only referenc copy when calling C routine?

Shin, Daehyok sdhyok at email.unc.edu
Mon Apr 12 02:45:13 CEST 2004


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 am trying to implement a dynamic modeling system in R,
where some C functions should be called more than 1000 times with arguments
of huge arrays.
So, the issue is important for better performance.
Thanks again,

Daehyok Shin




More information about the R-help mailing list