topenv | R Documentation |
Called inside a module, box::topenv()
returns the module namespace
environment. Otherwise, it behaves similarly to topenv
.
box::topenv()
box::topenv(env)
module |
a module environment |
box::topenv()
returns the top-level module environment of the
module it is called from, or the nearest top-level non-module environment
otherwise; this is usually .GlobalEnv
.
box::topenv(env)
returns the nearest top-level environment that is a
direct or indirect parent of env
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.