os_path

0th

Percentile

The OS path

The locations in the operating system PATH environment variable.

Usage
os_path(sep = c("/", "\\"), standardize = TRUE, splitter = if (is_windows()) ";" else ":")
Arguments
sep
String separator between directory levels in the output.
standardize
Should the paths be standardized?
splitter
The character to split the PATH environment variable on. Defaults to a semi-colon on Windows systems and a colon elsewhere.
Value

A character vector of paths.

See Also

Sys.getenv

Aliases
  • os_path
Examples
os_path()
Documentation reproduced from package pathological, version 0.1-1, License: Unlimited

Community examples

Looks like there are no examples yet.