testJob | R Documentation |
Useful for debugging. Note that neither the registry, database or file directory are changed.
testJob(reg, id, resources = list(), external = TRUE)
reg |
[ |
id |
[ |
resources |
[ |
external |
[ |
[any]. Result of job. If the job did not complete because of an error, NULL is returned.
Other debug:
debugMulticore()
,
debugSSH()
,
getErrorMessages()
,
getJobInfo()
,
getLogFiles()
,
grepLogs()
,
killJobs()
,
resetJobs()
,
setJobFunction()
,
showLog()
reg = makeRegistry(id = "BatchJobsExample", file.dir = tempfile(), seed = 123) f = function(x) if (x==1) stop("oops") else x batchMap(reg, f, 1:2) testJob(reg, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.