Skip to content
Prev 132518 / 398506 Next

assigning and saving datasets in a loop, with names changing with "i"

Won't it be simpler to do:

for (i in 1:12){
data <- my.fun(my.list[i]))   
save(data,file = paste("data",i,".RData", sep="")) }


--- Marie Pierre Sylvestre
<MP.Sylvestre at epimgh.mcgill.ca> wrote: