\Header{cat}{Concatenate and Print}
\keyword{print}{cat}
\keyword{file}{cat}
\begin{Usage}
\begin{verbatim}
cat(... , file = "", sep = " ", fill = FALSE, labels = NULL,
    append = FALSE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\texttt{...}] objects that can be coerced into vectors.
\item[\texttt{file}] character string naming the file to print to.  If
\texttt{""}, \texttt{cat} prints to the standard output.
\item[\texttt{sep}] character string to insert between the objects to print.
\item[\texttt{fill}] a logical or numeric controlling how the output is
broken into successive lines.  If \texttt{FALSE}, only newlines
created explicitly by \texttt{\\n} are printed.  Otherwise, the
output is broken into lines with print width equal to the option
\texttt{width} if \texttt{fill} is \texttt{TRUE}, or the value of
\texttt{fill} if this is numeric.
\item[\texttt{labels}] character vector of labels for the lines printed.
Ignored if \texttt{fill} is \texttt{FALSE}.
\item[\texttt{append}] if \texttt{TRUE}, output will be appended to
\texttt{file}; otherwise, it will overwrite the contents of
\texttt{file}.
\end{ldescription}
\end{Arguments}
\begin{Value}
\texttt{cat} converts its arguments to character strings, concatenates
them, separating them by the given \texttt{sep=} string, and then
prints them.

\texttt{cat} is useful for producing output in user defined functions.\end{Value}
\begin{Examples}
\begin{ExampleCode}


## print an informative message
cat("iteration = ", iter <- iter + 1, "\n")

## print an informative message
cat("iteration = ", iter <- iter + 1, "\n")
\end{ExampleCode}
\end{Examples}

