\HeaderA{invisible}{Change the Print Mode to Invisible}{invisible}
\keyword{programming}{invisible}
\begin{Description}\relax
Return a (temporarily) invisible copy of an object.
\end{Description}
\begin{Usage}
\begin{verbatim}invisible(x)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] an arbitrary \R{} object.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This function 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.
\end{Details}
\begin{References}\relax
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
\emph{The New S Language}.
Wadsworth \& Brooks/Cole.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{withVisible}{withVisible}},
\code{\LinkA{return}{return}},
\code{\LinkA{function}{function}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
# These functions both return their argument
f1 <- function(x) x
f2 <- function(x) invisible(x)
f1(1)# prints
f2(1)# does not
\end{ExampleCode}
\end{Examples}

