2025-08-01 at 6:11 pm
#49876

Participant
I’m having trouble installing the INLA package, whether I’m using the R code from the Introduction to R-INLA Activities, friends comments in the Course Forum, or the website https://www.r-inla.org/download-install.
I’m still getting an error message:
cp: unknown option — )
ERROR: installing binary package failed
So I asked ChatGPT and used this code to successfully install it on my Windows.
install.packages(“INLA”, repos = c(INLA = “https://inla.r-inla-download.org/R/stable”), type = “binary”)
I hope this INLA installed will be useful for course learning and class projects.