findGRASS: Return attributes of valid 'GRASS GIS' installation(s) on the...

View source: R/grassControl.R

findGRASSR Documentation

Return attributes of valid 'GRASS GIS' installation(s) on the system

Description

Provides a list of valid 'GRASS GIS' installation(s) on your system. There is a major difference between osgeo4W and stand_alone installations. The functions tries to find all valid installations by analysing the calling batch scripts.

Usage

findGRASS(searchLocation = "default", ver_select = FALSE, quiet = TRUE)

Arguments

searchLocation

location to be searched for the grass executable, i.e. one executable for each GRASS installation on the system. For Windows systems it is mandatory to include an uppercase Windows drive letter and a colon. Default For Windows Systems is C:, for Linux systems default is /usr/bin.

ver_select

boolean default is FALSE. If there is more than one 'SAGA GIS' installation and ver_select = TRUE the user can select interactively the preferred 'SAGA GIS' version

quiet

boolean switch for supressing console messages default is TRUE

Value

A dataframe with the '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: 
# find recursively all existing 'GRASS GIS' installation folders starting 
# at the default search location
findGRASS()

## End(Not run)

gisma/link2GI documentation built on Nov. 10, 2023, 11:15 a.m.