Re: [R] Agreggating data using external aggregation rules

2008-06-06 Thread Gabor Grothendieck
Use aggregate() for aggregation and use indexing or subset() for selection. Alternately try the sqldf package: http://sqldf.googlecode.com which allows one to perform SQL operations on data frames. On Fri, Jun 6, 2008 at 6:12 AM, <[EMAIL PROTECTED]> wrote: > Dear R experts, > > I am currently fac

[R] Agreggating data using external aggregation rules

2008-06-06 Thread ANGELO.LINARDI
Dear R experts, I am currently facing a tricky problem which I have read a lot about in the various R mailing lists without finding exactly what I need. I have a big data frame DF (about 2,000,000 rows) with 7 columns being variables and 1 being a measure (using reshape package nomeclature). There