View source: R/getErrorMessages.R
getErrorMessages | R Documentation |
Extracts error messages from the internal data base and returns them in a table.
getErrorMessages(
ids = NULL,
missing.as.error = FALSE,
reg = getDefaultRegistry()
)
ids |
[ |
missing.as.error |
[ |
reg |
[ |
[data.table
] with columns “job.id”, “terminated” (logical),
“error” (logical) and “message” (string).
Other debug:
getStatus()
,
grepLogs()
,
killJobs()
,
resetJobs()
,
showLog()
,
testJob()
tmp = makeRegistry(file.dir = NA, make.default = FALSE)
fun = function(i) if (i == 3) stop(i) else i
ids = batchMap(fun, i = 1:5, reg = tmp)
submitJobs(1:4, reg = tmp)
waitForJobs(1:4, reg = tmp)
getErrorMessages(ids, reg = tmp)
getErrorMessages(ids, missing.as.error = TRUE, reg = tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.