powered by
This is a wrapper around environment with a consistent syntax.
environment
enclosing_env(f)
The name of a function.
# NOT RUN { enclosing_env("plot") enclosing_env("t.test") # }
Run the code above in your browser using DataLab