findGRASS {link2GI} | R Documentation |
Returns attributes of valid 'GRASS GIS' installation(s) on the system.
Description
Retrieve a list of valid 'GRASS GIS' installation(s) on your system. There is a big difference between osgeo4W and stand_alone installations. The function tries to find all valid installations by analyzing the calling batch scripts.
Usage
findGRASS(searchLocation = "default", ver_select = FALSE, quiet = TRUE)
Arguments
searchLocation |
Location to search 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 |
ver_select |
boolean, Default is FALSE. If there is more than one 'GRASS GIS' installation and |
quiet |
boolean, default is TRUE. switch to suppress console messages |
Value
data frame with the 'GRASS GIS' binary folder(s) (i.e. where the individual 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)