search for: forcecopi

Displaying 1 result from an estimated 1 matches for "forcecopi".

Did you mean: forcecopy
2013 Nov 22
2
what is the correct way to force a copy of an object?
Dear R-devs, I'm working on a package where we have a function that modifies an Object via .Call to a C function. Unfortunately in some situations this counterintuitive modifies a previously made copy of the object passed to the function. For example, if I first make an assignment to "copy" the object, b<-a and then modify 'a' , the value of 'b' will be