R-sharp/docs/documents/utils/write.csv.1

62 lines
1.4 KiB
Groff

.\" man page create by R# package system.
.TH UTILS 4 2000-Jan "write.csv" "write.csv"
.SH NAME
write.csv \- Data Output
.SH SYNOPSIS
\fIwrite.csv(\fBx\fR as any,
\fBfile\fR as any = \fB<NULL>\fR,
\fBrow_names\fR as any = TRUE,
\fBfileEncoding\fR as any = "",
\fBtsv\fR as boolean = FALSE,
\fBnumber_format\fR as any = \fB<NULL>\fR,
[\fB<Environment>\fR]);\fR
.SH DESCRIPTION
.PP
Data Output
prints its required argument \fBx\fR (after converting it to a
data frame if it is not one nor a matrix) to a file or
connection.
.PP
.SH OPTIONS
.PP
\fBx\fB \fR\-
the object to be written, preferably a matrix or data frame.
If not, it is attempted to coerce x to a data frame.
.
.PP
.PP
\fBfile\fB \fR\-
either a character string naming a file or a connection open
for writing. "" indicates output to the console.
.
.PP
.PP
\fBfileEncoding\fB \fR\-
character string: if non-empty declares the encoding to be
used on a file (not a connection) so the character data can
be re-encoded as they are written.
.
.PP
.PP
\fBenv\fB \fR\- -.
.PP
.PP
\fBrow_names\fB \fR\-
either a logical value indicating whether the row names of
x are to be written along with x, or a character vector of
row names to be written.
.
.PP
.SH DETAILS
.PP
this function will create an empty table file if the given data
table object **`x`** is nothing.
.PP
.SH SEE ALSO
utils
.SH FILES
.PP
base.dll
.PP