Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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")
share|improve this answer
    
Thank you for your respond –  user19516 Jul 5 '13 at 3:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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