path {devtools} | R Documentation |
Get/set the PATH variable.
get_path() set_path(path) add_path(path, after = Inf)
path |
character vector of paths |
after |
for |
set_path
invisibly returns the old path.
with_path
to temporarily set the path for a block
of code
Other path: on_path
path <- get_path() length(path) old <- add_path(".") length(get_path()) set_path(old) length(get_path())