[R] proto naming clash?

From: David Katz <david_at_davidkatzconsulting.com>
Date: Thu, 15 May 2008 10:24:43 -0700 (PDT)

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.

______________________________________________
R-help_at_r-project.org 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.
Received on Thu 15 May 2008 - 20:57:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 16 May 2008 - 14:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive