Library paths
Temporarily change library paths.
with_libpaths(new, code, action = "replace") local_libpaths(new = list(), 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()
.libPaths() new_lib <- tempfile() dir.create(new_lib) with_libpaths(new_lib, print(.libPaths())) unlink(new_lib, recursive = TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.