I want to save my raster plot that produced with R to ArcGIS raster (.img, .tif and ASCII) file.


Have a look at ?writeRaster from the raster package. Depending on the desired output format, just edit the format argument ("GTiff" for .tif, "HFA" for .img, and "ascii" for ESRI .asc). Here's some sample code,

writeRaster(yourRasterObject, "outputFilename", format = "GTiff")
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.