powered by
Clear cell values of a Raster* object from memory
clearValues(x)
a Raster* object
Raster* object
values, replacement
values
replacement
r <- raster(ncol=10, nrow=10) values(r) <- 1:ncell(r) r <- clearValues(r)
Run the code above in your browser using DataLab