Closed wandadk closed 4 years ago
Another solution is to use the terra package in R instead of the raster package. This should perform better for large rasters: https://cran.r-project.org/web/packages/terra/terra.pdf and https://tmieno2.github.io/R-as-GIS-for-Economists/before-you-start-3.html and https://rspatial.org/terra/rs/index.html.
Resampling of large rasters is very slow when using the
raster
package in R. Potential performance increase can be obtained using this blog