showStatus {BatchJobs} | R Documentation |
Retrieve or show status information about jobs.
Description
E.g.: How many there are, how many are done, any errors, etc.
showStatus
displays on the console, getStatus
returns an informative result
without console output.
Usage
showStatus(reg, ids, run.and.exp = TRUE, errors = 10L)
getStatus(reg, ids, run.and.exp = TRUE)
Arguments
reg |
[ |
ids |
[ |
run.and.exp |
[ |
errors |
[ |
Value
[list
]. List of absolute job numbers. showStatus
returns them
invisibly.
Examples
reg = makeRegistry(id = "BatchJobsExample", file.dir = tempfile(), seed = 123)
f = function(x) x^2
batchMap(reg, f, 1:10)
submitJobs(reg)
waitForJobs(reg)
# should show 10 submitted jobs, which are all done.
showStatus(reg)
[Package BatchJobs version 1.9 Index]