R/grassControl.R
setenvGRASSw.Rd
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
)
grass root directory i.e. "C:\OSGEO4~1",
grass version name i.e. "grass-7.0.5"
two options "osgeo4w" as installed by the 'OSGeo4W'-installer and "NSIS" that is typical for a stand_alone installtion of 'GRASS GIS'.
jpeg2000 memory allocation size. Default is 1000000
boolean switch for supressing console messages default is TRUE
if (FALSE) {
# set choosen'GRASS GIS' installation folders
setenvGRASSw(root_GRASS = "C:\\PROGRA~1\\QGIS2~1.18",
grass_version = "grass-7.2.1",
installation_type = "osgeo4W")
}