Description Usage Arguments Value Examples
Evaluate R expressions in an attached environment.
1 2 3 4 5 6 7 8 9 | attach_eval(
unquoted_expr,
name = "local:utils",
pos = 2L,
warn.conflicts = TRUE,
...,
expr = substitute(unquoted_expr),
mask.ok = NULL
)
|
unquoted_expr |
The expression to be evaluated, This is automatically quoted. |
name |
The environment name. If an environment of that name already exists, it is reused, otherwise, a new environment is attached. |
pos |
The position where to attach the environment, if creating a new
one. If an environment of |
warn.conflicts |
logical. If TRUE (the default), print warnings about objects in the attached environment that that are masking or masked by other objects of the same name. |
... |
Ignored. |
expr |
An R language object. This is an escape hatch from the automatic
quoting of |
mask.ok |
character vector of names of objects that can mask objects on
the search path without signaling a warning if |
The result after evaluating expr
, invisibly.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.