PGOptionsManager | R Documentation |
Options are stored in a persistent file in AppData, see pgconfig_cache$info()
new()
Initialize options
PGOptionsManager$new()
set_extent()
Set output spatial extent
PGOptionsManager$set_extent(value)
value
A vector with extent, c(xmin, xmax, ymin, ymax)
set_crs()
Set output CRS
PGOptionsManager$set_crs(value)
value
CRS string
set_nrow()
Set number of rows in output raster
PGOptionsManager$set_nrow(value)
value
Integer
set_ncol()
Set number of cols in output raster
PGOptionsManager$set_ncol(value)
value
Integer
set_rawfolder()
Set the folder where raw-data should be downloaded (possibly very large files), defaults to temporary folder
PGOptionsManager$set_rawfolder(value)
value
String path to folder
set_verbose()
Set verbose output of functions if true.
PGOptionsManager$set_verbose(value)
value
Boolean
get_crs()
Get crs option
PGOptionsManager$get_crs()
get_extent()
Get extent option
PGOptionsManager$get_extent()
get_nrow()
Get nrow option
PGOptionsManager$get_nrow()
get_ncol()
Get ncol option
PGOptionsManager$get_ncol()
get_rawfolder()
Get rawfolder option
PGOptionsManager$get_rawfolder()
get_verbose()
Get verbose option
PGOptionsManager$get_verbose()
print()
Prints all options
PGOptionsManager$print()
clone()
The objects of this class are cloneable with this method.
PGOptionsManager$clone(deep = FALSE)
deep
Whether to make a deep clone.
pgoptions <- PGOptionsManager$new()
pgoptions$set_rawfolder <- tempfolder()
pgoptions$set_verbose(FALSE)
pgoptions$print()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.