catchAll | R Documentation |
The function separates the output from another function, its warning and errors, without printing them in the console.
catchAll(fun)
fun |
a function. |
The function was taken from the following stackoverflow question: https://stackoverflow.com/questions/4948361/how-do-i-save-warnings-and-errors-as-output-from-a-function/4952908#4952908
a list with the output of the function in the first element, the warnings in the second and the errors in the third.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.