I have a data frame with 900,000 rows and 11 columns in R. The column names and types are as follows:
column name: date / mcode / mname / ycode / yname / yissue
Or the plyr library, which is easily extensible to other data classes:
plyr
> library(plyr) > result.2 <- ddply(df$a, .(df$b), sum) > result.2 df.b V1 1 down 30 2 up 25