saveToRepoRaster: Alternative to saveToRepo for rasters

Description Usage Arguments Value Author(s) See Also

Description

Rasters are sometimes file-based, so the normal save mechanism doesn't work. This function creates an explicit save of the file that is backing the raster, in addition to saving the object metadata in the archivist repository database.

Usage

1
2
saveToRepoRaster(obj, objName = NULL, lazyDir = NULL, tags = NULL,
  compareRasterFileLength = 1e+06)

Arguments

obj

The raster object to save to the repository.

objName

A character representation of the object name.

lazyDir

the lazyDir to use.

tags

Optional character vector of tags. Passed to saveToRepo.

compareRasterFileLength

Numeric. This is passed to the length arg in digest when determining if the Raster file is already in the database. Default 1e6. Passed to lazySave.

Value

A raster object and its file backing will be passed to the archivist repository.

Author(s)

Eliot McIntire

See Also

lazyLs, lazyLoad2


PredictiveEcology/lazyR documentation built on May 8, 2019, 3:10 p.m.