Skip to content
Prev 139411 / 398506 Next

Using loop numbers in write.csv

See ?paste and ?assign, those will get what you want done.

At least in the second case, you might consider using a list, however. 
You can then avoid the use of 'for' loops by using functions such as lapply.

Best,
Erik Iverson
Economics Guy wrote: