Learn R Programming

terra (version 0.4-3)

pack: pack a Spat* object

Description

Pack a Spat* object so that it can be saved as an R object to disk, or passed over a connection that serializes (e.g. using a computer cluster).

Usage

# S4 method for SpatRaster
pack(x, ...)
# S4 method for SpatVector
pack(x, ...)

Arguments

x

SpatVector or SpatRaster

...

additional arguments. None implemented

Value

Packed* object