[R] proto naming clash?

2008-05-15 Thread David Katz
Trying to learn Proto. This threw me: #startup r... library(proto) a - proto(x=10) a$x [1] 10 x - proto(x=100) x$x Error in get(x, env = x, inherits = TRUE) : invalid 'envir' argument Do I simply need to be careful to name proto objects and proto components uniquely? Is this the desired

Re: [R] proto naming clash?

2008-05-15 Thread Charilaos Skiadas
On May 15, 2008, at 1:24 PM, David Katz wrote: Trying to learn Proto. This threw me: #startup r... library(proto) a - proto(x=10) a$x [1] 10 x - proto(x=100) x$x Error in get(x, env = x, inherits = TRUE) : invalid 'envir' argument Do I simply need to be careful to name proto objects