Skip to main content

The answer is do not export, because there is no need to. You can directly read Arc* grid data with the raster package (when library rgdal is availabled). And if you export, it is better to avoid ascii (use e.g. GTiff).

library(raster)
library(rgdal)
#For an arc/grid (albem_s1 is the folder!):
r <- raster("G:/USGS/DEM/7_5min/VA/albem_s1")

#For a geotiff
r <- raster("G:/USGS/DEM/7_5min/VA/albem_s1.tif")

The answer is do not export, because there is no need to. You can directly read Arc* grid data with the raster package (when library rgdal is availabled). And if you export, it is better to avoid ascii (use e.g. GTiff).

The answer is do not export, because there is no need to. You can directly read Arc* grid data with the raster package (when library rgdal is availabled). And if you export, it is better to avoid ascii (use e.g. GTiff).

library(raster)
library(rgdal)
#For an arc/grid (albem_s1 is the folder!):
r <- raster("G:/USGS/DEM/7_5min/VA/albem_s1")

#For a geotiff
r <- raster("G:/USGS/DEM/7_5min/VA/albem_s1.tif")
Source Link

The answer is do not export, because there is no need to. You can directly read Arc* grid data with the raster package (when library rgdal is availabled). And if you export, it is better to avoid ascii (use e.g. GTiff).