
get_path() set_path(path)
add_path(path, after = Inf)
add_path
, the place on the PATH
where the new paths should be addedset_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())
Run the code above in your browser using DataLab