powered by
Utility function
parse_flags(...)# S3 method for default parse_flags(...)# S3 method for list parse_flags(x, ...)
# S3 method for default parse_flags(...)
# S3 method for list parse_flags(x, ...)
A character vector with the processed flags.
Options to be parsed as bash flags.
A named list.
Other utilities: Slurm_clean(), Slurm_env(), Slurm_log(), WhoAmI(), snames(), status()
Slurm_clean()
Slurm_env()
Slurm_log()
WhoAmI()
snames()
status()
cat(parse_flags(a=1, b=TRUE, hola=2, y="I have spaces", ms=2, `cpus-per-task`=4)) # -a 1 -b --hola=2 -y "I have spaces" --ms=2 --cpus-per-task=4
Run the code above in your browser using DataLab