retry | R Documentation |
Function to retry failed functions after a time out of 5 seconds. Especially useful for failed api calls.
retry(retryfun, max = 2, init = 0)
retryfun |
function to retry. |
max |
maximum number of retries, default = 2 |
init |
initial state of retries should always be left zero, default = zero |
None
retry(sum(1,"a"), max = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.