writeRaster2 | R Documentation |
Modification of writeRaster that can delete auxillary files. If overwrite is set to TRUE (the default) it will overwrite raster file and delete all associated files (e.g. pyramid files). Might only work on Windows.
writeRaster2(x, filename, overwrite = TRUE, ...)
x |
Raster* object |
filename |
Output filename |
overwrite |
Logical. If TRUE, "filename" will be overwritten if it exists. Additionally, auxillary files related to this raster will be deleted |
... |
other arguments passed to writeRaster |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.