Skip to content
Prev 81042 / 398502 Next

changing the value of a variable from inside a function

On 11/17/2005 9:39 AM, Duncan Murdoch wrote:
Whoops, as Martin Maechler pointed out to me, this line is unnecessary. 
  The fact that test is an argument to wrapper means that a local copy 
would have been made already.

(I am fairly sure this line wouldn't cost very much, since R would 
recognize that a third copy of test isn't needed, but I shouldn't have 
put it there.)

Duncan Murdoch