Skip to content
Prev 228306 / 398500 Next

Objects within environment

On 21/07/2010 5:57 AM, Megh Dal wrote:
The easiest way to pick an item from the search list is by number:

objects(3)
  or
ls(3)

will give you the objects in the graphics package, with the search list 
as above.  You can also specify the name as the name argument, e.g.

objects("package:base")

If you want to use the envir argument (why?), you need to give an 
environment, not the name of one.

Duncan Murdoch