[R] proto naming clash?
David Katz
david at davidkatzconsulting.com
Thu May 15 19:24:43 CEST 2008
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 behavior for proto objects?
Thanks.
--
View this message in context: http://www.nabble.com/proto-naming-clash--tp17258403p17258403.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list