[R] Cleaning Up Data Output

MATT BORKOWSKI mpb170 at psu.edu
Wed May 22 22:54:29 CEST 2002

I am working with data in a list and attempting to save it to an output file.
Using the 'write' gives errors so I'm using the 'write.table' function which
I'm aware converts the list to a data frame.  The problem is that when the
file is opened then, the data has all been output to one line.  Is this because
of the format of the data when it was loaded?  Or is it simply and side affect
of dealing with lists?  Is there a way to manage the data so that it will be
displayed with proper breaks when it is output to a file? 


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list