sys_which
From pathological v0.1-1
by Richard Cotton
Find paths to executables
Wrapper to Sys.which
, that returns standardized paths.
Usage
sys_which(x, sep = c("/", "\\"))
Arguments
- x
- A character vector of executables.
- sep
- String separator between directory levels in the output.
Value
-
A character vector of paths to those executables, or
NA
if it
doesn't exist. (This behaviour for missing executables differs from
Sys.which
.)
See Also
Examples
sys_which("R") # R executable
sys_which(c("make", "gcc")) # tools for running Rcpp
Community examples
Looks like there are no examples yet.