silently_run | R Documentation |
Shortcut avoiding user to get messages, warnings and being stopped by an
error. The usage is very similar to suppressWarnings()
. This function
is targeted for function creators where user experience enhancement is
sought.
silently_run(...)
... |
R code |
The output of the R code, unless the output is a message, a warning or an error, nothing will be returned in that case.
invisible()
, suppressWarnings()
, suppressMessages()
{
as.integer("text")
silently_run(as.integer("text"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.