search_for_grass {rdwplus}R Documentation

Find GRASS installations

Description

This function finds the path to potential GRASS installations. It does so in a very crude way; that is, by searching for directories that match the string 'GRASS'.

Warning: this function works by brute force, so it may take a few minutes to find potential GRASS installations.

Note: This is not guaranteed to work. It is not hard to find the path to your computer's GRASS installation yourself. This is the preferred course of action.

Usage

search_for_grass(guide)

Arguments

guide

Optional. A specific folder to search in for the GRASS installation.

Value

A vector of file paths to potential GRASS installations.

Examples

 

my_grass <- search_for_grass()
my_grass



[Package rdwplus version 1.0.0 Index]