suppressAll: Suppresses all output except for errors.

View source: R/suppressAll.R

suppressAllR Documentation

Suppresses all output except for errors.

Description

Evaluates an expression and suppresses all output except for errors, meaning: prints, messages, warnings and package startup messages.

Usage

suppressAll(expr)

Arguments

expr

[valid R expression]
Expression.

Value

Return value of expression invisibly.

Examples

suppressAll({
  print("foo")
  message("foo")
  warning("foo")
})

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to suppressAll in BBmisc...