...
Code Block |
---|
> .libPaths("~/rlibs") > install.packages("sf", lib = "~/rlibs", type = "source", configure.args = c("--with-sqlite3-lib=/gpfs/sharedfs1/admin/hpc2.0/apps/sqlite/3.45.2/lib", "--with-proj-lib=/gpfs/sharedfs1/admin/hpc2.0/apps/proj/9.4.0/lib64"), repo = "https://cloud.r-project.org/") |
...
Before each install, you might need to quit out of R and reload R with a fresh environment.
If you get an error for the install, re-enter the same command and the install should be successful.
#5
R-INLA:
Code Block |
---|
[netidhere@node ~]$ R > .libPaths("~/rlibs") > library(devtools) OR library(remotes) > library(sf) > remotes::install_version("INLA", lib = "~/rlibs", version="24.02.09",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE) |
...