Creates a copy of a SAGA grid file, optionally overwriting the target file if it already exists. Intended mainly for internal use by RSAGA functions, currently in particular rsaga.inverse.distance().
rsaga.copy.sgrd(in.grid, out.grid, overwrite = TRUE, env = rsaga.env())name of a SAGA GIS grid file; file extension can be omitted
name of a SAGA GIS grid file; file extension can be omitted
logical; if TRUE (the default), overwrite out.grid if it already exists; if FALSE and the out.grid already exists, copying will be skipped without causing an error.
a SAGA geoprocessing environment as created by rsaga.env()