Get calling environment

Share:

Description

Generic S3 method for extracting an environment from an S3 object. A getter for an explicitly stored environment from an S3 object or list... probably the environment where the original function that created the object was called from. The default method is a wrapper for x$envir.

Usage

1
2
3
4
getEnvir(x)

## Default S3 method:
getEnvir(x)

Arguments

x

S3 object to extract the environment

See Also

getCall, environment, parent.env, eval