| capture_message | R Documentation |
capture condition
capture_message(expr) capture_warning(expr)
foom <- function(x) {
message("its too bad")
return(x)
}
capture_message(foom(4))
foow <- function(x) {
warning("its too bad")
return(x)
}
capture_warning(foow(4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.