Description Usage Arguments Details Value Author(s) See Also Examples
A wrapper function for restoring a session from a binary file.
1 | restoreSession(file = "session.RData", envir = .GlobalEnv, clean = TRUE)
|
file |
path to an R binary file |
envir |
the environment into which the objects should be restored. |
clean |
boolean indicating whether the environment should be purged prior to restoring objects |
This function restores an entire workspace by calling restoreObjects
, followed
by calls to restorePackages
, restoreSearchPath
and restoreOptions
if the file contains an object named .sessionInfo, that must be generated by a call to sessionSummary
This function is called for it's side-effects
Matthew D. Furia matt.furia@sagebase.org
https://github.com/MattNapsAlot
restoreObjects
,
restoreSearchPath
,
restorePackages
,
restoreOptions
,
sessionSummary
,
saveSession
1 2 3 4 5 6 7 8 | ## Not run:
## save the session
saveSession(file="sessionInfo.rbin")
## restore a saved session
restoreSession(file="sessionInfo.rbin")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.