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.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Alex Roy
> Sent: Wednesday, January 13, 2010 8:00 AM
> To: r-help@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@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.

______________________________________________
R-help@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.

Reply via email to