Learn R Programming

ribiosUtils (version 1.5-6)

silencio: Keep silent by suppressing warnings and messages

Description

The function is used to keep the command silent by suppressing warnings and messages

Usage

silencio(...)

Arguments

Any function call

Value

The same as the function call

See Also

suppressWarnings, suppressMessages

Examples

Run this code
# 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