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.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.