Description Usage Arguments Details Value Examples
Attempts the expression in expr
up to the number of tries specified in
max_attempts
. Each time a failure results, the functions sleeps for a
random amount of time before re-attempting the expression. The upper bound of
the backoff increases exponentially after each failure.
1 |
expr |
an R expression to try. |
silent |
logical: should the report of error messages be suppressed? |
verbose |
logical: Should detailed messages be reported regarding each attempt? Default: no. |
max_tries |
the maximum number of times to attempt the expression
|
For details on exponential backoff, see: http://en.wikipedia.org/wiki/Exponential_backoff
the value of the expression in expr
. If the final attempt was
a failure, the objected returned will be of class try-error".
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.