Skip to content
Prev 22383 / 63421 Next

Feature request: names(someEnv) same as ls(someEnv)

On 10/15/2006 2:48 PM, Seth Falcon wrote:
Wouldn't that just confuse people into thinking that environments are 
vectors?  Wouldn't it then be reasonable to assume that 
env[[which(names(env) == "foo")]] would be a synonym for env$foo?

I don't see why this would be nice:  why not just use ls()?

Duncan Murdoch