Saves all non-function objects from the global environment to an RData file
Source:R/General_SaveSession.R
SaveSession.RdThis function saves all objects (except functions and specified exclusions)
from the global environment as list items in an RData file. It also creates
a summary of these objects' sizes in memory.
Usage
SaveSession(Path = getwd(), ExcludeObj = NULL, Prefix = "S")Arguments
- Path
Character. Directory path where the output
RDatafile should be saved. Defaults to the current working directorybase::getwd().- ExcludeObj
Character vector. Object names (as strings) to exclude from saving.
- Prefix
Character. Prefix the saved file name with. Defaults to
S.