Saves all non-function objects from the global environment to an RData file
Source:R/General_SaveSession.R
SaveSession.Rd
This 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
A string specifying the directory path where the output
RData
file should be saved. Defaults to the current working directorybase::getwd()
.- ExcludeObj
A vector of object names (as strings) to exclude from saving.
- Prefix
A string to prefix the saved file name with. Defaults to
S
.