Re: [R] different names for new files in a for loop

2009-07-28 Thread Steve Lianoglou
Hi, On Jul 28, 2009, at 3:43 PM, Yash Gandhi wrote: Hi, I have an excel file with 10 columns and I am trying to create new excel files each with columns 1, 2, and columns 3-10. Does anyone know how to change the name of the file in a for loop so that the first new file will have columns 1

[R] different names for new files in a for loop

2009-07-28 Thread Yash Gandhi
Hi, I have an excel file with 10 columns and I am trying to create new excel files each with columns 1, 2, and columns 3-10. Does anyone know how to change the name of the file in a for loop so that the first new file will have columns 1, 2, 3 with a name and then the next file will have colum