Slurm_clean {slurmR} | R Documentation |
Clean a session.
Description
The functions of the family Slurm_*apply generate a set of temporary files that are used for the job design, submission and collection. This function will remove all the contents of directory created by calling those functions.
Usage
Slurm_clean(x)
Arguments
x |
An object of class |
Details
If the job is finalized, it returns 0 if able to clean the directory otherwise return whatever unlink returns after trying to remove the job path.
See Also
Other post submission:
Slurm_collect()
,
Slurm_log()
,
status()
Other utilities:
Slurm_env()
,
Slurm_log()
,
WhoAmI()
,
parse_flags()
,
snames()
,
status()
Examples
## Not run:
job <- Slurm_EvalQ(1 + 1, 2, plan = "collect")
# This will remove all the files generated by Slurm_EvalQ
Slurm_clean(job)
## End(Not run)
[Package slurmR version 0.5-4 Index]