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

View source: R/grassControl.R

paramGRASSxR Documentation

Usually for internally usage, get 'GRASS GIS' and rgrass parameters on 'Linux' OS

Description

Initialize and set up rgrass for 'Linux'

Usage

paramGRASSx(
  set_default_GRASS = NULL,
  MP = "/usr/bin",
  ver_select = FALSE,
  quiet = TRUE
)

Arguments

set_default_GRASS

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 rgrass wrappe. Additionally you may use also use the API calls of GRASS7 via the command line.

Examples

## 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 Aug. 29, 2022, 9:06 a.m.