From simon.debernard at altrabio.com  Tue Apr  1 12:15:05 2008
From: simon.debernard at altrabio.com (simon.debernard at altrabio.com)
Date: Tue,  1 Apr 2008 12:15:05 +0200 (CEST)
Subject: [Rd] "by" speed improvement (PR#11064)
Message-ID: <20080401101505.4923D2834169@mail.pubhealth.ku.dk>

Full_Name: Simon de Bernard
Version: 2.7.0 (44733)
OS: MacOS
Submission from: (NULL) (140.77.34.213)


"by" usually takes forever even on a "not so large" data structure.

If one can do with a matrix instead of a data.frame, defining by.matrix as
by.data.frame modified to convert data back to a data.frame in the "eval" call
improves speed by orders of magnitude (whatever that means ;-) )

I'd suggest defining the by.matrix function directly in R...



[Rd] "by" speed improvement (PR#11064)
simon.debernard at altrabio.com