I am relatively new at this but you should have a look at the clusterR function in the raster package which will utilize your CPU cores more effectively.
http://www.inside-r.org/packages/cran/raster/docs/Cluster -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Analyzing-Large-Raster-Files-in-R-tp7584531p7584548.html Sent from the R-sig-geo mailing list archive at Nabble.com. _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo