Re: [R] Automatic creation of file names

From: <vincent_at_7d4.com>
Date: Fri 23 Sep 2005 - 00:30:10 EST

as a toy example :

for (i in 1:nbfiles)
  {
  fullname = paste("myfile",i, sep="");
  write.table(intable,fullname,col.names=F,row.names=F,quote=F);   }

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 Fri Sep 23 00:41:25 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 17:38:51 EST