Skip to content
Prev 6074 / 63468 Next

is.environment, as.environment, and NULL

A question, and a remark.

Question, would we want to keep as.environment(NULL) to give the base
package, so that code like ls(envir = NULL) will still work?

Remark, we once discussed making package environments (in particular for
base) read-only.  One way of doing this is via setting attributes, but
we cannot do this on NULL.  Not that I think this is the way to do it,
though ...

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._