I have a data frame data with about 500 rows.
I perform the following action using dplyr but this gives me the following error:
C Stack usage 15924991 is too close to the limit
data<-data%>%group_by(Date)%>%mutate(val1=sum(as.numeric(val1)))%>%distinct(Date,.keep_all=TRUE)%>%ungroup()
TIA