Description Usage Arguments Value Examples
This function repeats the target function until the execution of the target function is successfull.
1 2 | rhfRepeatUntilOk(expr, silent = TRUE, maxIter = 1000,
quotedExpr = substitute(expr), envir = parent.frame())
|
expr |
target function expression |
silent |
logical: should the report of error messages be suppressed? |
maxIter |
maximum iterations of target function |
quotedExpr |
substitute(expr) - returns the parse tree for the (unevaluated) expression |
envir |
environment - evaluate an R expression in a specified environment |
result target function
1 2 3 4 | ## Not run:
rhfRepeatUntilOk(data <- targetFunction())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.