Currently, this will save the raster-backed files, outputs(sim)
, inputs(sim)
.
It will add these to a temp file, using Copy
, where appropriate
to not affect the original simList
.
VERY experimental; unlikely to work perfectly at the moment.
zipSimList(sim, zipfile, ..., outputs = TRUE, inputs = TRUE, cache = FALSE)
sim | A simList at the core of the zipping. |
---|---|
zipfile | A character string indicating the filename for the zip file. Passed to |
... | passed to |
outputs | Logical. If |
inputs | Logical. If |
cache | Logical. If |
If cache
is used, it is likely that it should be trimmed before
zipping, to include only cache elements that are relevant.