Learn R Programming

ribiosUtils (version 1.7.7)

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(...)

Value

The same as the function call

Arguments

...

Any function call

Author

Jitao David Zhang <jitao_david.zhang@roche.com>

See Also

Examples

Run this code

wsqrt <- function(x) {warning("Beep");message("Calculating square");return(x^2)}
silencio(wsqrt(3))

Run the code above in your browser using DataLab