R-alpha: R 0.50.a3 minor remark

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Mon, 11 Aug 1997 15:36:08 +0200


Just a minor remark.  We now have

> args(ls)
function (name, pos = -1, envir = pos.to.env(pos), all.names = FALSE, 
        pattern) 

but

> pos.to.env(-1)
Error in pos.to.env(-1) : invalid argument

whereas

> pos.to.env(length(search()))
NULL


Perhaps pos.to.env should really return the corresponding environments,
just for sake of completeness ... or the fun of it.

-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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-