I need to convert a sgrd file to tif or ascii using R. I converted a big sgrd file (1.4 GB, 376521831 pixels) to ascii using the package RSAGA
but it takes too long (approx. 45 minutes):
rsaga.sgrd.to.esri(in.sgrds = "path\\dem_filename",
out.grids = "output_filename",
out.path = "path\\foldername",
format = "ascii",
georef = "corner",
prec = 5,
env = work_env)
How could I convert sgrd format with rgdal
or other R packages?