setRGISToolsOpt: Change the default value of an RGISTools option

Description Usage Arguments Value Examples

View source: R/RGISToolsOpts.R

Description

setRGISToolsOpt changes the default value of an 'RGISTools' configuration variable. This function can be jointly used with showRGISToolsOpt and getRGISToolsOpt.

Usage

1
setRGISToolsOpt(opt, value, env = optEnv)

Arguments

opt

a character with the name of the option.

value

the new value of the selected option.

env

the environment where the 'RGISTools' option is saved.

Value

this function does not return anything.

Examples

1
2
3
4
5
6
7
8
# list avaliable options names
showRGISToolsOpt()
# list the URL where the Landsat-7 metadata is located
getRGISToolsOpt("LS7META.dir")
# change the URL where the Landsat-7 metadata is located
setRGISToolsOpt("LS7META.dir", "NewMTDir")
# list the URL where the Landsat-7 metadata is located
getRGISToolsOpt("LS7META.dir")

RGISTools documentation built on July 2, 2020, 3:58 a.m.