powered by
The function is used to keep the command silent by suppressing warnings and messages
silencio(...)
The same as the function call
Any function call
Jitao David Zhang <jitao_david.zhang@roche.com>
suppressWarnings, suppressMessages
suppressWarnings
suppressMessages
wsqrt <- function(x) {warning("Beep");message("Calculating square");return(x^2)} silencio(wsqrt(3))
Run the code above in your browser using DataLab