Learn R Programming

batchtools (version 0.9.17)

removeRegistry: Remove a Registry from the File System

Description

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())

Value

[character(1)]: Path of the deleted file directory.

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 (see setDefaultRegistry).

See Also

Other Registry: clearRegistry(), getDefaultRegistry(), loadRegistry(), makeRegistry(), saveRegistry(), sweepRegistry(), syncRegistry()

Examples

Run this code
 batchtools:::example_push_temp(1) 
tmp = makeRegistry(file.dir = NA, make.default = FALSE)
removeRegistry(0, tmp)

Run the code above in your browser using DataLab