- This topic has 2 replies, 2 voices, and was last updated 1 year, 3 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
You must be logged in to reply to this topic. Login here
Home › Forums › TMHG 517 Statistical methods in spatial epidemiology 2022 › Assignment of week 1
Dear Aj,
I would like to inform you that the “INLA” package is currently not available on CRAN (Comprehensive R Archive Network) and needs to be downloaded and installed from the INLA website.
Regrettably, I encountered an issue while trying to download the INLA package from the website. Consequently, I am seeking your guidance on how to proceed with the installation. The assignment for week 1 cannot be completed without being able to call the library(INLA) in R. The deadline to submit the assignment is this Sunday, and I am concerned about meeting it.
If you have any suggestions or alternative methods to obtain and install the INLA package, I would greatly appreciate your assistance in resolving this matter promptly.
Thank you for your understanding and support.
Best regards,
Tippa Wongstitwilairoong
Dear Aj,
I try to search solution for install “INLA” package in R by use code as below:
install.packages(“INLA”,repos=c(getOption(“repos”),INLA=”https://inla.r-inla-download.org/R/stable”), dep=TRUE)
The installation process took some time, but I am pleased to inform you that I was able to successfully download the INLA packages. Now, I can run R code to display figure 6.5 of the assignment.
Best regards,
Tippa Wongstitwilairoong
Hello both,
Thank you, Farhan, for assisting your fellow classmate. As Farhan mentioned, the R-INLA package is not available on CRAN due to its reliance on external C libraries, making it challenging to build binaries. To install the package, you must use install.packages() while adding the URL of the R-INLA repository.
In section 1.4 of the weekly lesson, you can find an example of how to install the stable version of the package using the provided R command.
Please re-visit: https://mu-informatics.org/courses/statistical-methods-in-spatial-epidemiology/lessons/introduction-to-r-inla-activities/
Hope this helps! Please let us know if you have further questions.
You must be logged in to reply to this topic. Login here