with_libpaths {withr} | R Documentation |
Temporarily change library paths.
with_libpaths(new, code, action = "replace") local_libpaths(new, action = "replace", .local_envir = parent.frame())
new |
|
code |
|
action |
|
.local_envir |
|
[any]
The results of the evaluation of the code
argument.
withr
for examples
Other libpaths: with_temp_libpaths