So I was wandering if there is a way to simplify a couple of Sentinel's rasters so I can apply raster analysis on them. Problem is that whenever I try to aggregate the data my RAM, CPU and storage overload (see the following line). And that is by using parallel processing.
r2=aggregate(ras,fact=10,fun=mean, expand=TRUE, na.rm=TRUE)
Now I am wandering, if there is a faster way to transform my data, faster, using another method or function. Now, I have also thought of resample and splitting but I wanted to ask you people if you knew a faster way to aggregate my data.