All files will be erased from the file system, including all results.
If you wish to remove only intermediate files, use sweepRegistry.
Usage
removeRegistry(wait = 5, reg = getDefaultRegistry())Arguments
- wait
[
numeric(1)]
Seconds to wait before proceeding. This is a safety measure to not accidentally remove your precious files. Set to 0 in non-interactive scripts to disable this precaution.- reg
[
Registry]
Registry. If not explicitly passed, uses the default registry (seesetDefaultRegistry).
See also
Other Registry:
clearRegistry(),
getDefaultRegistry(),
loadRegistry(),
makeRegistry(),
saveRegistry(),
sweepRegistry(),
syncRegistry()
Examples
tmp = makeRegistry(file.dir = NA, make.default = FALSE)
#> No readable configuration file found
#> Created registry in '/tmp/batchtools-example/reg' using cluster functions 'Interactive'
removeRegistry(0, tmp)
#> Recursively removing files in '/tmp/batchtools-example/reg' ...