loadRegistry: Load a previously saved registry.

View source: R/loadRegistry.R

loadRegistryR Documentation

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].


BatchJobs documentation built on March 21, 2022, 5:05 p.m.