Rev 699 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{invisible}\title{Change the Print Mode to Invisible}\usage{invisible(expr)}\alias{invisible}\value{This function returns a (temporarily) invisible copy of its argument.This can be useful when it is desired to have functionsreturn values which can be assigned, but which do notprint when they are not assigned.}\seealso{\code{\link{return}} and \code{\link{function}}.}\examples{# These functions both return their argumentf1 <- function(x) xf2 <- function(x) invisible(x)f1(1)# printsf2(1)# does not}\keyword{programming}