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.
loadRegistry(file.dir, work.dir, adjust.paths = FALSE)[character(1)]
Location of the file.dir to load the registry from.
[character(1)]
Location of the work. Unchanged if missing.
[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.
[Registry].