load.session: load.session Function

Description Usage Arguments Details See Also Examples

View source: R/backupSession.R

Description

This function loads R session images and if available history files saved with save.session().

Usage

1
2
load.session(basename = "NULL", version = "NULL", path = getwd(),
  verbose = FALSE)

Arguments

basename

Basename for the R session images and history files.

version

A date string or version number used as part of the backup filenames. Cannot be an empty string.

path

Directory to load backup files from. Defaults to current working directory.

verbose

Print session loading progress messages. Must be either TRUE or FALSE. Defaults to FALSE.

Details

It will overwrite objects in .GlobalEnv just as the load() function does. History files are NOT loaded in non-interactive R sessions.

See Also

save.session, load.mdata and load.sinfo

Examples

1
2
3
4
## Not run: 
load.session(basename = "projectX", path = "./backups", version = "01.03.18.11.43")

## End(Not run)

makeyourownmaker/backupSession documentation built on Jan. 23, 2021, 8:34 a.m.