Re: [Rd] split() is slow on data.frame (PR#14123)

2009-12-09 Thread Peng Yu
  2 >> [2,]      5     5 >> >> >> Bill Dunlap >> Spotfire, TIBCO Software >> wdunlap tibco.com >> >>> -Original Message- >>> From: r-devel-boun...@r-project.org >>> [mailto:r-devel-boun...@r-project.org] On Behalf Of

Re: [Rd] split() is slow on data.frame (PR#14123)

2009-12-09 Thread Peng Yu
   4     4 >> >> $B >>    Matrix Named >> [1,]      2     2 >> [2,]      5     5 >> >> >> Bill Dunlap >> Spotfire, TIBCO Software >> wdunlap tibco.com >> >>> -Original Message- >>> From: r-deve

Re: [Rd] split() is slow on data.frame (PR#14123)

2009-12-09 Thread Charles C. Berry
5 Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of pengyu...@gmail.com Sent: Wednesday, December 09, 2009 2:10 PM To: r-de...@stat.math.ethz.ch Cc: r-b...@r-project.org Subj

Re: [Rd] split() is slow on data.frame (PR#14123)

2009-12-09 Thread William Dunlap
r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of > pengyu...@gmail.com > Sent: Wednesday, December 09, 2009 2:10 PM > To: r-de...@stat.math.ethz.ch > Cc: r-b...@r-project.org > Subject: [Rd] split() is slow on data.frame (PR#14123) > > Please se

[Rd] split() is slow on data.frame (PR#14123)

2009-12-09 Thread pengyu . ut
Please see the following code for the runtime comparison between split() and mysplit.data.frame() (they do the same thing semantically). mysplit.data.frame() is a fix of split() in term of performance. Could somebody include this fix (with possible checking for corner cases) in future version of R