| numErrors | R Documentation |
Return the number of tasks with errors
numErrors(R)
R |
The list of outputs from |
The number of tasks with errors
# Errors can be intercepted. Consider a function
# that can generate some error. The run will not plot and
# the computation will run anyway.
options(easypar.parallel = FALSE)
results = run(
FUN = function(x) {
if(runif(1) > .5) stop("Some error")
x
},
PARAMS = lapply(1:5, list),
silent = TRUE
)
# Getters that can return the number of errors
numErrors(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.