View source: R/writeSpeciesRaster.R
writeSpeciesRaster | R Documentation |
Write a speciesRaster object to disk.
writeSpeciesRaster(x, filename)
x |
object of class |
filename |
filename with no extension |
This function ensures that the raster data is stored in memory
and then writes a .rds file with xz compression. This file can be read back in with readRDS
.
Nothing is returned, but object is written to disk.
Pascal Title
## Not run: #save save(tamiasSpRas, '~/tamiasSpeciesRaster') # read back in tamiasSpRas <- readRDS('~/tamiasSpeciesRaster.rds') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.