PATH environment variable
Temporarily change the system search path.
with_path(new, code, action = "prefix") local_path(new = list(), action = "prefix", .local_envir = parent.frame())
new |
|
code |
|
action |
|
.local_envir |
|
[any]
The results of the evaluation of the code
argument.
withr for examples
# temporarily modify the system PATH, *replacing* the current path
with_path(getwd(), Sys.getenv("PATH"))
# temporarily modify the system PATH, *appending* to the current path
with_path(getwd(), Sys.getenv("PATH"), "suffix")Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.