Re: [R] references in R

2011-05-24 Thread Paul Hiemstra
Hi Jonas, You could use a construct like this: out = do.call('rbind', lapply(list, do.stuff)) Or you could use ldply from the plyr package: out = ldply(list, do.stuff) I use the plyr package a lot for these kinds of operations. It also supports a progress bar and parallel computing. cheers,

[R] references in R

2011-05-24 Thread Jonas Zierer
Hi everybody, my problem is the following: I have a function which produces for an input number a dataframe with a fixed number of columns and 0 to 10 rows. Now i want to apply this function to a vector with different inputs and merge all these result-dataframes in one data.frame. Can i give a d