snames {slurmR}R Documentation

Full path names for Slurm jobs

Description

Using opts_slurmR⁠$get_tmp_path⁠ and opts_slurmR⁠$get_job_name⁠ creates file names with full path to the objects. This function is intended for internal use only.

Usage

snames(type, array_id = NULL, tmp_path = NULL, job_name = NULL)

Arguments

type

can be any of r, sh, out, or rds.

array_id

Integer. ID of the array to create the name.

tmp_path

Character scalar. Path to the temp directory used by the job to write files.

job_name

Character scalar. Name of the job.

Details

By default, the parameters tmp_path and job_name are retrieved from the current options specified in opts_slurmR.

Value

A character scalar. The normalized path to the corresponding file.

See Also

Other utilities: Slurm_clean(), Slurm_env(), Slurm_log(), WhoAmI(), parse_flags(), status()


[Package slurmR version 0.5-4 Index]