quiet: Quiet Output

Description Usage Arguments Value Author(s) Examples

View source: R/quiet.R

Description

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

Usage

1
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

1
quiet(1 + 1)

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.