Message-ID: <43411825.3000201@7d4.com>
Date: 2005-10-03T11:38:13Z
From: vincent@7d4.com
Subject: Save output
In-Reply-To: <0INS00H4I55H2C@ubecx01.unibe.ch>
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