| JobNames {batchtools} | R Documentation |
Set custom names for jobs. These are passed to the template as ‘job.name’.
If no custom name is set (or any of the job names of the chunk is missing),
the job hash is used as job name.
Individual job names can be accessed via jobs$job.name.
setJobNames(ids = NULL, names, reg = getDefaultRegistry()) getJobNames(ids = NULL, reg = getDefaultRegistry())
ids |
[ |
names |
[ |
reg |
[ |
setJobNames returns NULL invisibly, getJobTable
returns a data.table with columns job.id and job.name.
tmp = makeRegistry(file.dir = NA, make.default = FALSE) ids = batchMap(identity, 1:10, reg = tmp) setJobNames(ids, letters[1:nrow(ids)], reg = tmp) getJobNames(reg = tmp)