Displaying 1 result from an estimated 1 matches for "hurlingham".
2009 Apr 22
1
generate multipe output .csv files in a loop
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