Learn R Programming

R.oo (version 1.26.0)

getEnvironment.Object: Gets the environment of this object

Description

Gets the environment of this object. This is the environment where the members of the Object are stored.

Usage

# S3 method for Object
getEnvironment(fun, ...)

Value

Returns an environment.

Arguments

...

Not used.

Author

Henrik Bengtsson

See Also

For more information see Object.

Examples

Run this code
  ll(R.oo)
  ll(envir=getEnvironment(R.oo))

Run the code above in your browser using DataLab