Hi Peter, Yes I have a large number of factors in the listBy table.
Do you mean that aggregate() creates a complete cartesian product of the "by" columns ? (and creates combinations of values that do not exist in the orignial "by" table, before removing them when returning the aggregated table?) Thanks a lot, Guillaume -- View this message in context: http://r.789695.n4.nabble.com/Memory-limit-in-Aggregate-tp3711819p3713042.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.