I'm using the raster
package function projectRaster
to match a high resolution raster (~700Mb) to a lower resolution one (~1Mb). Unfortunately, I run into this error;
Error: vector memory exhausted (limit reached?)
Based on this thread, it looks like it is possible to extend R's memory. However, I would like to avoid messing around with this if possible. I was wondering if it might be an option to divide the higher resolution raster into smaller components and do the reprojection piecemeal? Or is that more hassle than it is worth, and I should investigate the memory increase option? Or even better, is there a workaround that avoids this issue altogether? I can't be the only person working with moderately large raster files...