Split path string environment variable
Usage
splitPathString(x = Sys.getenv("PATH"))
Arguments
- x
character(1)
. PATH string, containing elements separated with a colon (":"
). Defaults to system path string.
Examples
splitPathString()
#> [1] "/Applications/RStudio.app/Contents/Resources/app/quarto/bin"
#> [2] "/Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools"
#> [3] "/Applications/RStudio.app/Contents/Resources/app/bin/postback"
#> [4] "/opt/koopa/bin"
#> [5] "/usr/bin"
#> [6] "/bin"
#> [7] "/Library/TeX/texbin"
#> [8] "/usr/local/MacGPG2/bin"
#> [9] "/opt/X11/bin"