Learn R Programming

rdwplus (version 1.0.1)

install_extensions: Install required extension(s)

Description

Some functions in the rdwplus package rely on GRASS extensions that need to be installed prior to use. This function installs those extensions.

Usage

install_extensions()

Arguments

Value

Nothing.

Details

This function has no arguments. Simply run it and it will install a pre-set list of GRASS extensions.

Currently, the GRASS extension required are r.stream.snap, r.stream.distance, and r.wateroutlet.lessmem.

Examples

Run this code
# Will only run if GRASS is running
if(check_running()){
    install_extensions()
}

Run the code above in your browser using DataLab