littler (version 0.3.8)

r: Return Path to r Binary

Description

Return the path of the install r binary.

Usage

r(usecat = FALSE)

Arguments

usecat

Optional toggle to request output to stdout (useful in Makefiles)

Value

The path is returned as character variable. If the usecat option is set the character variable is displayed via cat instead.

Details

The test for Windows is of course superfluous as we have no binary for Windows. Maybe one day...