Re: [R] Save output

From: <vincent_at_7d4.com>
Date: Mon 03 Oct 2005 - 21:38:13 EST

Frank Schmid a écrit :

> Dear R-Mastermind
> Within a while or a for-loop, is there a way that I can save to disk the
> results of the previous calculations at the end of each loop with filenames
> called "file01.Rdata", "file02.Rdata" etc?

as a toy example :

for (i in 1:nbfiles)
  {
  fullname = paste("myfile_",i, sep="");   write.table(intable, fullname);
  }

see
?paste
hih



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Oct 03 22:02:56 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:09:37 EST