Learn R Programming

pulsar (version 0.3.11)

getEnvir: Get calling environment

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

getEnvir(x)

# S3 method for default getEnvir(x)

Arguments

x

S3 object to extract the environment

See Also

getCall, environment, parent.env, eval