powered by
This function restores local objects within the current R session.
RestoreSession(path, save.objs, fun.call)
character. Directory pathname; if missing a folder browser pop up dialog box is implemented.
character. Vector of local object names. These objects will be preserved during the recompiling process.
character. Name of the function to call after restoring the session (optional).
Used for the side-effect of an updated R session compiled from source code files (.R) located in path and its recursive directories.
.R
path
list.files, source
list.files
source
# NOT RUN { RestoreSession() # } # NOT RUN { # }
Run the code above in your browser using DataLab