Rdocumentation
powered by
Learn R Programming
SpaDES (version 1.2.0)
rasterToMemory: Read raster to memory
Description
Wrapper to the
raster
function, that creates the raster object in memory, even if it was read in from file.
Usage
rasterToMemory(x, ...)
"rasterToMemory"(x, ...)
Arguments
x
An object passed directly to the function raster (e.g., character string of a filename).
...
Additional arguments to
raster
.
Value
A raster object whose values are stored in memory.
See Also
raster
.