write.list(marray)
write.list()所属R语言包:marray
Data Output
数据输出
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Writes information from a list into a text file.
从列表中的信息写入一个文本文件。
用法----------Usage----------
write.list(x, filename = "data", append = FALSE, closefile = TRUE, outfile)
参数----------Arguments----------
参数:x
the list object to be written.
列表对象被写入。
参数:filename
a character string representing the file name.
代表文件名字符串。
参数:append
logical; if true, the data x is appended to file filename.
逻辑;如果属实,数据x的被追加到文件filename。
参数:closefile
logical indicating if the file connection should be closed.
逻辑指示是否应关闭的文件连接。
参数:outfile
file name or connections.
文件名称或连接。
Details
详情----------Details----------
This function may be called recursively if there exists list structure within a list.
此功能可称为递归列表内,如果存在的列表结构。
作者(S)----------Author(s)----------
Jean Yee Hwa Yang
参见----------See Also----------
write.table, write
write.table,write
举例----------Examples----------
data(swirl)
test <- list(A = 1:10, B= maM(swirl)[1:10,], C=list(x=1:10, y=1:4),
D = summary(maA(swirl[,1])))
write.list(test, filename="test.txt")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|