call_with_callback | R Documentation |
func
and then call callback
with the resultcallback
will be called with two arguments, the first one will the
error object if func()
threw an error, or NULL
otherwise. The second
argument is NULL
on error, and the result of func()
otherwise.
call_with_callback(func, callback, info = NULL)
func |
Function to call. |
callback |
Callback to call with the result of |
info |
Extra info to add to the error object. Must be a named list. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.