sys_which

0th

Percentile

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

Sys.which

Aliases
  • sys_which
Examples
sys_which("R")              # R executable
sys_which(c("make", "gcc")) # tools for running Rcpp
Documentation reproduced from package pathological, version 0.1-1, License: Unlimited

Community examples

Looks like there are no examples yet.