load_env | R Documentation |
Instead of loading RData files to the global environment
load them to a new env.
base::load
already has a way to do this,
but this is a convenience function that creates
a new environment by default.
load_env(RData, env = new.env())
RData |
path to the RData file you want to load |
env |
the environment you want to load to. Defaults to a new environment. |
Returns the environment you are loading to.
# data_env <- load_env('file1.RData')
# load_env('file2.RData', data_env)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.