showStatus {BatchJobs} | R Documentation |
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.
showStatus(reg, ids, run.and.exp = TRUE, errors = 10L)
getStatus(reg, ids, run.and.exp = TRUE)
reg |
[ |
ids |
[ |
run.and.exp |
[ |
errors |
[ |
[list
]. List of absolute job numbers. showStatus
returns them
invisibly.
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)