paramGRASSx function

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

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

Initialize and set up rgrass for 'Linux'

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

Arguments

  • set_default_GRASS,: default is NULL. will force a search for 'GRASS GIS' You may provide a valid combination as c('/usr/lib/grass74','7.4.1','grass74')
  • MP,: default is '/usr/bin'. mount point to be searched.
  • ver_select: if TRUE you must interactively select between alternative installations
  • quiet: boolean, default is TRUE. switch for suppressing console messages

Details

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

Examples

run = FALSE if (run) { # automatic retrieval of the GRASS environment settings paramGRASSx() # typical stand_alone installation paramGRASSx('/usr/bin/grass72') # typical user defined installation (compiled sources) paramGRASSx('/usr/local/bin/grass72') }
  • Maintainer: Chris Reudenbach
  • License: GPL (>= 3) | file LICENSE
  • Last published: 2024-10-28