I need to generate output files as .csv file in a loop:

let's say, I want to generate a sequence of files according to the loop number 
"i".

the first file genearted should be file1.csv

the second should be file2.csv

I use:
write.csv(temp, "file$i$.csv") in the loop but it did not work.

can anyone give suggestions?

thanks a lot.

Jack

_________________________________________________________________
Rediscover HotmailĀ®: Get e-mail storage that grows with you. 

Storage2_042009
        [[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.

Reply via email to