Description Usage Arguments Details Value Author(s) See Also Examples
This function saves all objects in stored in the global workspace, and also saves the session info object that describes other information about the session. It is a thin wrapper on the save method.
1 | saveSession(..., list = character(), file="session.RData", version = NULL, envir = .GlobalEnv)
|
list |
A character vector containing the names of objects to be saved. |
... |
the names of the objects to be saved (as symbols or character strings). |
file |
a (writable binary-mode) connection or the name of the file where the data will be saved (when tilde expansion is done). Must be a file name for version = 1. |
version |
the workspace format version to use. NULL specifies the current default format. The version used from R 0.99.0 to R 1.3.1 was version 1. The default format as from R 1.4.0 is version 2. |
envir |
environment to search for objects to be saved. |
This function is a thin wrapper on top of save.image(). The only difference being that the sessionInfo object is first stored in the global environment as an object named .sessionInfo.
This method is called for it's side-effects, which is a file storing the current session.
Matthew D. Furia matt.furia@sagebase.org
https://github.com/MattNapsAlot
restoreSession
,
sessionSummary
,
save
1 2 3 4 5 | ## Not run:
## save the session for later use
saveSession(file="sessionInfo.rbin")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.