Learn R Programming

littler (version 0.3.20)

r: Return Path to r Binary

Description

Return the path of the install r binary.

Usage

r(usecat = FALSE)

Value

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

Arguments

usecat

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

Author

Dirk Eddelbuettel

Details

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