removeRegistry {BatchJobs}R Documentation

Remove a registry object.

Description

If there are no live/running jobs, the registry will be closed and all of its files will be removed from the file system. If there are live/running jobs, an informative error is generated. The default is to prompt the user for confirmation.

Usage

removeRegistry(reg, ask = c("yes", "no"))

Arguments

reg

[Registry]
Registry.

ask

[character(1)]
If "yes" the user is prompted to confirm the action. If trying to prompt the user this way in a non-interactive session, then an informative error is generated. If "no", the registry will be removed without further confirmation.

Value

[logical[1]]


[Package BatchJobs version 1.8 Index]