Learn R Programming

pryr (version 0.1.6)

enclosing_env: Find the environment that encloses of a function.

Description

This is a wrapper around environment with a consistent syntax.

Usage

enclosing_env(f)

Arguments

f

The name of a function.

Examples

Run this code
enclosing_env("plot")
enclosing_env("t.test")

Run the code above in your browser using DataLab