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

View source: R/grassControl.R

searchGRASSXR Documentation

Return attributes of valid 'GRASS GIS' installation(s) in 'Linux'

Description

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

Usage

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

## 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 Nov. 2, 2023, 6:27 p.m.