[r] Aggregate multiple columns at once