Description Usage Arguments Value Author(s) References See Also Examples
This function is a wrapper around assign()
that
exports the contents of a named list to an environment. The variable names
in the target environment are constructed from the names of the list items
or taken from a separate argument.
1 | export.list(arg.list, arg.names = names(arg.list), target.env = .GlobalEnv)
|
arg.list |
list of objects, possibly named. |
arg.names |
names to use for the items in the target environment. Use
the names of |
target.env |
The target environment. Use the global environment by default. |
Invisible NULL
.
Roland
http://stackoverflow.com/a/17484932/946850
export, assign
1 2 3 | export.list(list(newly.created.var=5))
newly.created.var
rm(newly.created.var)
|
[1] 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.