Skip to content

list of all objects - just being curious

1 message · Liaw, Andy

#
The culprit (?) seems to be the line

   name <- substitute(name)

in ls().  I tried ls(search()[1]).  Inside ls(), name has the correct value
of ".GlobalEnv" before this line, but after the substitution it becomes
search()[1], which confuses the pos.to.env() call.

I'm not sure what would break w/o that line.  Any one know how to solve
this?

Andy
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._