Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write.list

Data Output


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.

closefile

logical indicating if the file connection should be closed.

outfile

file name or connections.

Details

This function may be called recursively if there exists list structure within a list.

Author(s)

Jean Yee Hwa Yang

See Also

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")

marray

Exploratory analysis for two-color spotted microarray data

v1.68.0
LGPL
Authors
Yee Hwa (Jean) Yang <jeany@maths.usyd.edu.au> with contributions from Agnes Paquet and Sandrine Dudoit.
Initial release
2009-08-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.