Learn R Programming

Rnightlights (version 0.2.4)

pkgReset: Reset global options for the Rnightlights package

Description

Reset global options for the Rnightlights package

Usage

pkgReset()

Arguments

Examples

Run this code
# NOT RUN {
#get cropMaskMethod
pkgOptions("cropMaskMethod") #returns default "rast"

#set cropMaskMethod to "gdal"
pkgOptions(cropMaskMethod="gdal") #sets to "gdal"

#check cropMaskMethod has changed
pkgOptions("cropMaskMethod") #returns "gdal"

#reset pkgOptions
pkgReset()

#check cropMaskMethod has been reset
pkgOptions("cropMaskMethod") #returns default "rast"

# }

Run the code above in your browser using DataLab