try_silent | R Documentation |
An abbreviation of try(silent = TRUE)
.
try_silent(expr)
expr |
An R expression. |
library(xfun)
z = try_silent(stop("Wrong!"))
inherits(z, "try-error")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.