getJobTable | R Documentation |
getJobStatus
returns the internal table which stores information about the computational
status of jobs, getJobPars
a table with the job parameters, getJobResources
a table
with the resources which were set to submit the jobs, and getJobTags
the tags of the jobs
(see Tags).
getJobTable
returns all these tables joined.
getJobTable(ids = NULL, reg = getDefaultRegistry())
getJobStatus(ids = NULL, reg = getDefaultRegistry())
getJobResources(ids = NULL, reg = getDefaultRegistry())
getJobPars(ids = NULL, reg = getDefaultRegistry())
getJobTags(ids = NULL, reg = getDefaultRegistry())
ids |
[ |
reg |
[ |
[data.table
] with the following columns (not necessarily in this order):
Unique Job ID as integer.
Time the job was submitted to the batch system as POSIXct
.
Time the job was started on the batch system as POSIXct
.
Time the job terminated (successfully or with an error) as POSIXct
.
Either NA
if the job terminated successfully or the error message.
Estimate of the memory usage.
Batch ID as reported by the scheduler.
Log file. If missing, defaults to [job.hash].log
.
Unique string identifying the job or chunk.
Time in seconds (as difftime
) the job was queued.
Time in seconds (as difftime
) the job was running.
List of parameters/arguments for this job.
List of computational resources set for this job.
Tags as joined string, delimited by “,”.
Only for ExperimentRegistry
: the problem identifier.
Only for ExperimentRegistry
: the algorithm identifier.
tmp = makeRegistry(file.dir = NA, make.default = FALSE)
f = function(x) if (x < 0) stop("x must be > 0") else sqrt(x)
batchMap(f, x = c(-1, 0, 1), reg = tmp)
submitJobs(reg = tmp)
waitForJobs(reg = tmp)
addJobTags(1:2, "tag1", reg = tmp)
addJobTags(2, "tag2", reg = tmp)
# Complete table:
getJobTable(reg = tmp)
# Job parameters:
getJobPars(reg = tmp)
# Set and retrieve tags:
getJobTags(reg = tmp)
# Job parameters with tags right-joined:
rjoin(getJobPars(reg = tmp), getJobTags(reg = tmp))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.