quiet: Force a function to not print anything

View source: R/quiet.R

quietR Documentation

Force a function to not print anything

Description

Force a function to not print anything

Usage

quiet(x)

Arguments

x

A function invocation.

Value

whatever the function returns, but invisible.

Examples

quiet(cat(5))
quiet((function(x) {cat(x); x^2})(5))

wzbillings/zlib documentation built on Oct. 27, 2023, 9:10 a.m.