Re: [R] aggregate slow with many rows - alternative?

From: Hans-Peter <>
Date: Fri 14 Oct 2005 - 20:30:37 EST

Many thanks for all your answers. Converting to a matrix didn't help, I tried with Hmisc but didn't get anywhere (different summary functions, multiple levels).

2005/10/14, jim holtman <>:
> Here is the way that I would do it. Using 'lapply' to process the list and create a matrix


Wow! That's a wonderful suggestion, Your code works just fine with my data (takes 11 seconds). Thanks a lot, I couldn't have written such code (reading some help entries now...).

Hans-Peter mailing list PLEASE do read the posting guide! Received on Fri Oct 14 20:48:14 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:52:55 EST