Learn R Programming

rdwplus (version 1.0.1)

search_for_grass: 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)

Value

A vector of file paths to potential GRASS installations.

Arguments

guide

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

Examples

Run this code
# \donttest{ 

my_grass <- search_for_grass()
my_grass

# }

Run the code above in your browser using DataLab