Learn R Programming

Kmisc (version 0.5.0)

getObjects: Get all Objects in Environment

Description

Get all objects within an environment. Useful for inspecting the objects available in a particular environment.

Usage

getObjects(env)

Arguments

env
an environment.

Value

a list of the objects contained within that environment.

Examples

Run this code
myenv <- new.env()
assign( "foo", "bar", env=myenv )
assign( "baz", "spam", env=myenv )
getObjects( myenv )

Run the code above in your browser using DataLab