quiet: Quiet Output

View source: R/quiet.R

quietR Documentation

Quiet Output

Description

Suppress all output from an expression. Works cross-platform.

Usage

quiet(expr, all = TRUE)

Arguments

expr

Expression to run.

all

If TRUE then suppress warnings and messages as well; otherwise, only suppress printed output (such as from print or cat).

Value

Used for its side effects.

Author(s)

Adapted from https://gist.github.com/daattali/6ab55aee6b50e8929d89

Examples

quiet(1 + 1)

microbiome/microbiome documentation built on Aug. 22, 2023, 7:12 a.m.