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