cleanup_files {rslurm} | R Documentation |
Deletes temporary files associated with a Slurm job
Description
This function deletes all temporary files associated with the specified Slurm
job, including files created by slurm_apply
or
slurm_call
, as well as outputs from the cluster. These files
should be located in the _rslurm_[jobname] folder of the current
working directory.
Usage
cleanup_files(slr_job, wait = TRUE)
Arguments
slr_job |
A |
wait |
Specify whether to block until |
See Also
Examples
## Not run:
sjob <- slurm_apply(func, pars)
print_job_status(sjob) # Prints console/error output once job is completed.
func_result <- get_slurm_out(sjob, "table") # Loads output data into R.
cleanup_files(sjob)
## End(Not run)
[Package rslurm version 0.6.2 Index]