lazyRm: Remove lazy objects from a 'lazyR' database

Description Usage Arguments Value Author(s) See Also Examples

Description

Remove all named objects from the specified lazyDir.

Usage

1
2
lazyRm(objNames = NULL, lazyDir = NULL, exact = TRUE,
  removeRasterFile = FALSE)

Arguments

objNames

A character vector of names of objects to be removed from a lazyR database.

lazyDir

Character string of directory to be used for the lazy databases.

exact

Should the character string matching be exact, i.e., ^objNames$ in regexp.

removeRasterFile

Logical. If true then the source raster file will be removed in addition to the database entry. This is only true if the file is in the lazyDir

Value

Nothing returned. This function is used for its side effects, i.e., loading lazy objects

Author(s)

Eliot McIntire

See Also

lazyLs, lazyLoad2

Examples

1
2
3
4
5
6
## Not run: 
a <- rnorm(10)
lazySave(a, lazyDir=tempdir())
lazyRm("a", lazyDir=tempdir())

## End(Not run)

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