Re: [R] filling list of data frames

2013-06-29 Thread MacQueen, Don
You might gain some speed by not creating df0 and df0_1: for (i in 2:100) output.list[[i]] <- f1(output.list[[i-1]]) You can also look at the structure of the data frames. For example, if some of the elements in the data frames are factors but don't need to be factors, you might gain by preventi

Re: [R] filling list of data frames

2013-06-27 Thread Jim Holtman
You might want to use Rprof to profile your code to understand where the time is going; it might be in the function you are callingband therefore the "for" loop might not be the issue. Sent from my iPad On Jun 27, 2013, at 4:19, "Frederico Mestre" wrote: > Hello: > > > > I have a list of d