Learn R Programming

BatchJobs (version 1.9)

loadRegistry: Load a previously saved registry.

Description

Loads a previously created registry from the file system. The file.dir is automatically updated upon load if adjust.paths is set to TRUE, so be careful if you use the registry on multiple machines simultaneously, e.g. via sshfs or a samba share.

There is a heuristic included which tries to detect if the location of the registry has changed and returns a read-only registry if necessary.

Usage

loadRegistry(file.dir, work.dir, adjust.paths = FALSE)

Arguments

file.dir

[character(1)] Location of the file.dir to load the registry from.

work.dir

[character(1)] Location of the work. Unchanged if missing.

adjust.paths

[logical(1)] If set to FALSE (default), the paths for the file.dir and work.dir will not be updated. Set to TRUE if you moved the directoy to another system after all computations finished.

Value

[Registry].