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