INLA installation fails

103 views
Skip to first unread message

Marek Brabec

unread,
Mar 28, 2025, 10:06:44 AM3/28/25
to R-inla discussion group
I am trying to install INLA on Windows.  I am using R version 4.3.3
While doing install.packages call taken from INLA download page, I keep getting an error.


> install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE) Installing package into ‘C:/Users/mbrabec/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified) Warning in install.packages : dependencies ‘HKprocess’, ‘Rgraphviz’, ‘graph’ are not available There is a binary version available but the source version is later: binary source needs_compilation INLA 23.09.09 24.12.11 FALSE installing the source package ‘INLA’ trying URL 'https://inla.r-inla-download.org/R/stable/src/contrib/INLA_24.12.11.tar.gz' Content type 'application/x-gzip' length 63101058 bytes (60.2 MB) downloaded 60.2 MB * installing *binary* package 'INLA' ... cp: unknown option -- ) Try '/usr/bin/cp --help' for more information. ERROR: installing binary package failed * removing 'C:/Users/mbrabec/AppData/Local/R/win-library/4.3/INLA' Warning in install.packages : installation of package ‘INLA’ had non-zero exit status The downloaded source packages are in ‘C:\Users\mbrabec\AppData\Local\Temp\RtmpSgNCbX\downloaded_packages’

What to do next?

Thanks a lot for the help and All the Best
 Marek

Havard Rue

unread,
Mar 28, 2025, 11:43:28 AM3/28/25
to R-inla discussion group, Marek Brabec
Please upgrade to R 4.4. And retry 

-- 
Håvard Rue 
--
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/r-inla-discussion-group/09ff0664-677b-4002-95b8-5817e812fb9bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages