setenvGRASSw | R Documentation |
Initializes and set up access to 'GRASS GIS 7.xx' via the rgrass
wrapper or command line packages. Set and returns all necessary environment variables and additionally returns the GISBASE directory as string.
setenvGRASSw(
root_GRASS = NULL,
grass_version = NULL,
installation_type = NULL,
jpgmem = 1e+06,
quiet = TRUE
)
root_GRASS |
grass root directory i.e. 'C:\OSGEO4~1', |
grass_version |
grass version name i.e. 'grass-7.0.5' |
installation_type |
two options 'osgeo4w' as installed by the 'OSGeo4W'-installer and 'NSIS' that is typical for a stand_alone installation of 'GRASS GIS'. |
jpgmem |
jpeg2000 memory allocation size. Default is 1000000 |
quiet |
boolean switch for suppressing console messages default is TRUE |
Chris Reudenbach
## Not run:
# set selected 'GRASS GIS' installation folders
setenvGRASSw(root_GRASS = 'C:\\PROGRA~1\\QGIS2~1.18',
grass_version = 'grass-7.2.1',
installation_type = 'osgeo4W')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.