foo <- function() { on.exit(print(1:10)) stop("Stopping in function foo") }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.