Re: [R] Question about <<- assignment
Rolf Turner auckland.ac.nz> writes: > > > On 2/07/2009, at 12:20 PM, Hsiu-Khuern Tang wrote: > > > Is this expected behavior? > > > >> z <- 1:5 > >> z[1] <<- 0 > > Error in z[1] <<- 0 : object "z" not found &
[R] Question about <<- assignment
Is this expected behavior? > z <- 1:5 > z[1] <<- 0 Error in z[1] <<- 0 : object "z" not found The documentation seems to suggest that z will be found in the global environment and modified accordingly. Best, Hsiu-Khuern. __ R-help@r-project.org mailin