paramGRASSx: Usually for internally usage, get 'GRASS GIS' and 'rgrass7'...

Description Usage Arguments Details Examples

View source: R/grass7Control.R

Description

Initialize and set up rgrass7 for 'Linux'

Usage

1
2
3
4
5
6
paramGRASSx(
  set_default_GRASS7 = NULL,
  MP = "/usr/bin",
  ver_select = FALSE,
  quiet = TRUE
)

Arguments

set_default_GRASS7

default = NULL will force a search for 'GRASS GIS' You may provide a valid combination as c("/usr/lib/grass74","7.4.1","grass74")

MP

mount point to be searched. default is "/usr/bin"

ver_select

if TRUE you must interactivley selcect between alternative installations

quiet

boolean switch for supressing console messages default is TRUE

Details

During the rsession you will have full access to GRASS7 GIS via the rgrass7 wrappe. Additionally you may use also use the API calls of GRASS7 via the command line.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# automatic retrieval of the GRASS7 enviroment settings
paramGRASSx()


# typical stand_alone installation
paramGRASSx("/usr/bin/grass72")

# typical user defined installation (compiled sources)
paramGRASSx("/usr/local/bin/grass72")

## End(Not run)

link2GI documentation built on Sept. 5, 2021, 5:34 p.m.