Dear all
I am using RStudio version 4.5.0 and I am trying to install INLA package and I keep on getting an error.
I used this R-studio:
install.packages("INLA",repos=c(getOption("repos"),INLA="Index of /R/stable"), dep=TRUE)
install.packages("INLA",repos=c(getOption("repos"),INLA="Index of /R/testing"), dep=TRUE)
inla.upgrade() # for the stable version
inla.upgrade(testing=TRUE) # for the testing version
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(c("graph", "Rgraphviz"), dep=TRUE)
inla.binary.install()
library("devtools")
devtools::install_github(repo = "GitHub - hrue/r-inla: This is the public repository for the r-inla project", ref = "stable", subdir = "rinla", build = FALSE)
install.packages("INLA",
repos = c(getOption("repos"),
INLA = "Index of /R/stable"),
type = "source",
dep = TRUE)
Thank you advanced