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