quiet: Suppress function messages and Concatenate and Print (cat)

Description Usage Arguments Value Author(s) References

View source: R/quiet.R

Description

This function is used to suppress information printed from external functions that make internal use of link{message} and cat, which provide information in interactive R sessions. For simulations, the session is not interactive, and therefore this type of output should be suppressed. For similar behavior for suppressing warning messages see suppressWarnings, though use this function carefully as some warnings can be meaningful and unexpected.

Usage

1
quiet(..., messages = FALSE, cat = FALSE)

Arguments

...

the functional expression to be evaluated

messages

logical; suppress all messages?

cat

logical; suppress all concatenate and print calls from cat?

Value

quiet

Author(s)

Phil Chalmers

References

Sigal, M. J., & Chalmers, R. P. (2016). Play it again: Teaching statistics with Monte Carlo simulation. Journal of Statistics Education, 24(3), 136-156.


xlucpu/MOVICS documentation built on July 24, 2021, 9:23 p.m.