ez.retry | R Documentation |
try
retry, wrapper of try
ez.retry(
expr,
times = 5,
pause = 3,
verbose = FALSE,
isError = function(x) "try-error" %in% class(x)
)
expr |
no need to quote the expr |
times |
max number of retry attempts |
pause |
time in seconds between attempts |
see also insistently
retry(func_that_might_fail(param1, param2), times=10, pause=2) to retry calling that function
with those parameters, give up after 10 errors, and pause 2 seconds between attempts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.