Skip to content
Prev 362112 / 398503 Next

[FORGED] Splitting data.frame into a list of small data.frames given indices

On 29/06/16 21:16, Witold E Wolski wrote:
I'm not sure that I follow what you're doing, and your example is not 
reproducible, since we have no idea what "peaks" is, but on a toy 
example with 5e6 rows in the data frame I got a timing result of

    user  system elapsed
   0.379   0.025   0.406

when I applied split().  Is this adequately fast? Seems to me that if 
you want to split something, split() would be a good place to start.

cheers,

Rolf Turner