You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Pass an R object to ref. The return is an object that behaves like
the original object but exhibits reference semantics. This class
is useful when dealing with large objects and a user want to have
control over when the object is copied."
But when I use ref, objects are still copied. Here is a test on R-3.02 on Ubuntu 12.04 (x86_64):
The ref doc states:
But when I use ref, objects are still copied. Here is a test on R-3.02 on Ubuntu 12.04 (x86_64):
It seems that two copies of the contents of y were made, not counting the initial copy from the vector x.
I don't think R5 is working as intended, at least not in this implementation.
The text was updated successfully, but these errors were encountered: