waterOptions: Global options for water package

Description Usage Arguments Value Author(s) References

Description

This function is based on raster::rasterOptions by Robert Hijmans.

Usage

1
2
waterOptions(overwrite, writeResults, outputFolder, SRTMrepo, autoAoi,
  default = FALSE)

Arguments

overwrite

Logical. If TRUE and writeResults is TRUE it will overwrite results. If FALSE, results are save with a name with name_datetime.

writeResults

Logical. If TRUE it'll write result to disk. This is slower but if FALSE you can have out-of-memory problems.

outputFolder

Name of a folder to save files, relative to workind folder.

SRTMrepo

A folder where SRTM grids are stored, to create DEM. See prepareSRTMdata()

autoAoi

Logical. If TRUE it'll look for a object called aoi on .GlobalEnv and use it as aoi. See createAoi()

default

Logical. If TRUE will revert all options to defaults values

Value

list of the current options (invisibly). If no arguments are provided the options are printed.

Author(s)

Guillermo F Olmedo, guillermo.olmedo@gmail.com

References

Robert J. Hijmans (2015). raster: Geographic Data Analysis and Modeling. R package version 2.4-18. http://CRAN.R-project.org/package=raster



Search within the water package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.