[R] Writing list object to a file

From: Arun Kumar Saha <arun.kumar.saha_at_gmail.com>
Date: Wed, 23 Apr 2008 12:21:02 +0530


Hi all,

I am wondering how to write a 'list' object to a file. I already gone through some threads like
http://mail.python.org/pipermail/python-list/2001-April/080639.html, however could not trace out any reliable solution. I tried following :

> write.table(calc, file="c:/data.csv")
Error in data.frame("200501" = c(-0.000387071806652095, -0.000387221689252648, :
  arguments imply differing number of rows: 25, 24, 16, 17, 18, 26, 27, 19, 23, 20, 11
Anybody can help?

Regards,

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 23 Apr 2008 - 07:01:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Apr 2008 - 14:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive