This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/invisible.html
invisible {base}R Documentation

Change the Print Mode to Invisible

Usage

invisible(expr)

Value

This function returns a (temporarily) invisible copy of its argument. This can be useful when it is desired to have functions return values which can be assigned, but which do not print when they are not assigned.

Examples

# These functions both return their argument
# The value returned by the second does not print
f1 <- function(x) x
f2 <- function(x) invisible(x)

[Package base version 0.60 ]