[R] Writing list object to a file

jim holtman jholtman at gmail.com
Wed Apr 23 14:49:21 CEST 2008


?save

On Wed, Apr 23, 2008 at 2:51 AM, Arun Kumar Saha
<arun.kumar.saha at gmail.com> wrote:
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list