\Header{write.table}{Data Output}
\begin{Usage}
\begin{verbatim}
write.table(x, file = "", append = FALSE, quote = TRUE, sep = " ",
            eol = "\n", na = NA, row.names = TRUE, col.names = TRUE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\texttt{x}] the object to be written, typically a data frame.  If not, it
is attempted to create one from it.
\item[\texttt{file}] the name of the file which the data are to be written to.
\item[\texttt{sep}] the field separator string.  Values on each line of the file
are separated by this string.
\item[\texttt{col.names}] a logical value indicating whether the column names
of \texttt{x} are to be written along with \texttt{x}, or a character
vector of column names to be written.
\item[\texttt{row.names}] a logical value indicating whether the row names of
\texttt{x} are to be written along with \texttt{x}, or a character
vector of row names to be written.
\item[\texttt{quote}] a logical or a numeric vector.  If \texttt{TRUE}, any
strings in the data will be surrounded by double quotes.  If a
numeric vector, its elements are taken as the indices of the
variable (columns) to quote.  In both cases, row and columns names
are always quoted if they are written.
\item[\texttt{na}] the string to use for missing values in the data.
\item[\texttt{eol}] the character(s) to print at the end of each line (row).
\end{ldescription}
\end{Arguments}
\begin{Description}
\texttt{write.table} prints its required argument \texttt{x} (after
converting it to a data frame if it is not one already) to
\texttt{file}.  The entries in each line (row) are separated by the
value of \texttt{sep}.\end{Description}
\begin{SeeAlso}
\texttt{\Link{read.table}}.\end{SeeAlso}

