[R] How can I store the results

Greg Snow Greg.Snow at imail.org
Wed Jan 13 17:27:50 CET 2010


You could put all of your results into a single list, then just save the list.

Or, functions like write.table and write have an append argument, set that to true and the information will be appended to the file rather than overwriting it.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Alex Roy
> Sent: Wednesday, January 13, 2010 8:00 AM
> To: r-help at r-project.org
> Subject: [R] How can I store the results
> 
> Dear R users,
>                         I am running a R code which gives me 10 columns
> and
> 160 rows. I need to run the code for 100 times and each time I need to
> store
> the results in a single file.
> I do not know how can I store them in a single file without over
> writting
> the results?
> 
> Thanks
> 
> Alex
> 
> 	[[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.



More information about the R-help mailing list