Method to load objects to a new environment for objects previously stored by save().

# S3 method for default
loadToEnv(file, ..., envir=new.env())

Arguments

...

Arguments passed to load().

envir

The environment to load the objects to.

Value

Returns environment

envir containing all loaded objects.

Author

Henrik Bengtsson

See also

Internally load() is used. See also loadObject().