I am using an aggregate function to aggregate 15 columns over one group variable. The dataset has around 75 Million records. This aggregate function fails stating memory issue.
What is the most effective way to summarise multiple columns over a group in a large dataset?
Line I have used for aggregation:
Features<-aggregate(data=model_data, .~srl_nbr, function(x) sum(x))