export

0th

Percentile

Exports to an environment

This function is a wrapper around export.list() that exports variables by their name to another environment.

Usage
export(..., target.env = .GlobalEnv)
Arguments
...

variables to be exported.

target.env

The target environment. Use the global environment by default.

Value

Invisible NULL.

References

http://stackoverflow.com/a/17484932/946850

See Also

export.list, assign

Aliases
  • export
Examples
# NOT RUN {
local({
  newly.created.var <- 5
  export(newly.created.var)
})
newly.created.var
rm(newly.created.var)
# }
Documentation reproduced from package kimisc, version 0.4, License: GPL-3

Community examples

Looks like there are no examples yet.