write.table(utils)
write.table()所属R语言包:utils
Data
Output
数据输出
译者:生物统计家园网
机器人LoveR
描述----------Description----------
write.table prints its required argument x (after converting it to
a data frame if it is not one nor a matrix) to a file or
connection.
write.table打印其所需的x(后,将其转换为一个数据框,如果它不是,也不是一个矩阵)文件或连接参数。
用法----------Usage----------
write.table(x, file = "", append = FALSE, quote = TRUE, sep = "
",
eol = "\n",
na = "NA", dec = ".", row.names = TRUE,
col.names =
TRUE, qmethod = c("escape", "double"),
fileEncoding
= "")
write.csv(...)
write.csv2(...)
参数----------Arguments----------
参数:x
the object to be written, preferably a matrix or data frame. If
not, it is attempted to coerce x to a data
frame.
要写入的对象,最好是矩阵或数据框。如果不是,它是试图强迫x到一个数据框。
参数:file
either a character string naming a file or a connection open for
writing."" indicates output to
the console.
无论是一个字符串命名文件或写作中打开一个连接。 ""表示输出到控制台。
参数:append
logical. Only relevant if file is a character
string.If TRUE, the output is
appended to the file.If FALSE,
any existing file of the name is
destroyed.
逻辑。唯一相关的,如果file是一个字符串。如果TRUE,输出追加到文件。如果FALSE,任何现有文件的名称被摧毁。
参数:quote
a logical value (TRUE or FALSE) or a numeric
vector.If TRUE, any character
or factor columns will be surrounded by double
quotes.If a numeric vector, its
elements are taken as the indices of columns to
quote.In both cases, row and
column names are quoted if they are
written.If FALSE, nothing is</