On Fri, Feb 26, 2010 at 9:01 AM, Ben <mi...@emerose.org> wrote: > >> In end it seems that your real beef is with R so perhaps you should >> be using a different language. > > In my case you may be right. I do think there are a million things > wrong with R. For instance, I was looking for a package that > overcomes two of the problems R IMHO has: namespace pollution and the > lack of an easy-to-use standard object system. > > Should I be using R? I do keep asking myself that same question... > >> With respect to proto its really just discussing whether to use >> proto(baseenv(), ...) vs proto(...) > > Unfortunately this doesn't fix the problem as was noted earlier: > >> z <- 1 >> proto(baseenv(), expr={a <- z})$a > Error in eval(expr, envir, enclos) : object "z" not found >
As already mentioned lets not confuse user error with actual problems pertaining to proto and R. It should have been written like this if that is what was wanted: > z <- 1 > proto(baseenv(), a = z)$a [1] 1 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel