Reference
SubglobalSensitivityAnalysis.install_R_dependencies
— Functioninstall_R_dependencies(packages; lib)
Install R packages, vector packages
, into R library, lib
. The lib
directory is created, if it does not exist yet, and prepended to the R library path. lib
defaults to the user R-library.
CAUTION: Installing packages to the R user library may interfere with other R projects, because it changes from where libraries and its versions are loaded.
Alternatively, install into a R-session specific library path, by using lib = RCall.rcopy(R"file.path(tempdir(),'session-library')")
. This does not interfere, but needs to be re-done on each new start of R, and needs adding RCall.jl
to users project dependencies and imports.