arg_env
determines the lexical scope of an argument (which must be an
un-evaluated promise).
arg_expr
fetches the expression attached to an argument in the given
environment. The effect is similar to substitute(name)
but more
specific.
1 2 3 | arg_env(name, envir = arg_env(name, environment()))
arg_expr(name, envir = arg_env(name, environment()))
|
name |
A single argument name; not evaluated. |
envir |
The environment to look for the argument name in. By default
looks in the lexical environment of the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.