Wrapper to the
raster function, that creates the raster object in
memory, even if it was read in from file.
rasterToMemory(x, ...) # S4 method for ANY rasterToMemory(x, ...)
An object passed directly to the function raster (e.g., character string of a filename).
Additional arguments to
A raster object whose values are stored in memory.