powered by
This function is a wrapper around export.list() that exports variables by their name to another environment.
export.list()
export(..., target.env = .GlobalEnv)
variables to be exported.
The target environment. Use the global environment by default.
Invisible NULL.
NULL
http://stackoverflow.com/a/17484932/946850
export.list, assign
# NOT RUN { local({ newly.created.var <- 5 export(newly.created.var) }) newly.created.var rm(newly.created.var) # }
Run the code above in your browser using DataLab