write.epmGrid {epm} | R Documentation |
Write a epmGrid object to disk.
write.epmGrid(x, filename)
x |
object of class |
filename |
filename with no extension |
This function writes a .rds file with xz compression.
This file can be read back in with read.epmGrid
.
Nothing is returned, but object is written to disk.
Pascal Title
#save
write.epmGrid(tamiasEPM, paste0(tempdir(), '/tamiasEPM'))
# read back in
tamiasEPM <- read.epmGrid(paste0(tempdir(), '/tamiasEPM.rds'))
# delete the file
unlink(paste0(tempdir(), '/tamiasEPM.rds'))