Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

enclosing_env("plot")
enclosing_env("t.test")

pryr

Tools for Computing on the Language

v0.1.4
GPL-2
Authors
Hadley Wickham [aut, cre], R Core team [ctb] (Some code extracted from base R)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.