searchGRASSX: Return attributes of valid 'GRASS GIS' installation(s) in...

Description Usage Arguments Value Author(s) Examples

View source: R/grass7Control.R

Description

Searches recursively for valid 'GRASS GIS' installations at a given 'Linux' mount point. Returns attributes for each installation.

Usage

1
searchGRASSX(MP = "/usr/bin", quiet = TRUE)

Arguments

MP

default is /usr. This is the directory from which the grass executable file is searched, i.e. one executable for each GRASS installation on the system.

quiet

boolean switch for supressing console messages default is TRUEs

Value

A dataframe containing 'GRASS GIS' binary folder(s) (i.e. where the individual GRASS commands are installed), version name(s) and installation type code(s)

Author(s)

Chris Reudenbach

Examples

1
2
3
4
5
6
7
8
## Not run: 
# get all valid 'GRASS GIS' installation folders in the /usr/bin directory (typical location)
searchGRASSX("/usr/bin")

# get all valid 'GRASS GIS' installation folders in the home directory
searchGRASSX("~/")

## End(Not run)

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