MacOS, R4.5 Error in inla.call.builtin() : INLA installation error; no such file

21 views
Skip to first unread message

Ufuoma Ovienmhada

unread,
Aug 1, 2025, 12:46:29 PMAug 1
to R-inla discussion group
I am an R novice and new to INLA. Having trouble with Installation. I did read previous discussions but may need more specialized assistance please given my many installation attempts.

Background

R.version in RStudio
               _                          
platform       x86_64-apple-darwin20      
arch           x86_64                      
os             darwin20                    
system         x86_64, darwin20            
status                                    
major          4                          
minor          5.0                        
year           2025                        
month          04                          
day            11                          
svn rev        88135                      
language       R                          
version.string R version 4.5.0 (2025-04-11)
nickname       How About a Twenty-Six      

INLA::inla.version()
R-INLA version ..........: 25.06.13
Date ....................: 2025-06-12
Maintainers .............: Havard Rue <hr...@r-inla.org>
                         : Finn Lindgren <finn.l...@gmail.com>
                         : Elias Teixeira Krainski <el...@r-inla.org>
Main web-page ...........: www.r-inla.org
Download-page ...........: inla.r-inla-download.org
Repository ..............: github.com/hrue/r-inla
Email support ...........: he...@r-inla.org
                         : r-inla-disc...@googlegroups.com

Installation attempts
  • I followed instructions at https://www.r-inla.org/download-install and ran 'install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE)'. I also tried the testing version
  • I tried adding an argument 'type="binary' to the above call, as seen in a stack exchange thread
  • At some point, I found that the path to the binary was ''/Users/ufuoma/Library/R/x86_64/4.5/library/INLA/bin/mac.arm64/inla" which seemed to be different than expected
    • I tried creating a symbolic link in Terminal using 'cd /Users/ufuoma/Library/R/x86_64/4.5/library/INLA/bin/mac

      mkdir -p 64bit

      ln -s ../mac.arm64/inla 64bit/inla'

Error
  • No matter what I've attempted, whenever I run 'file.exists(system.file("bin/mac/64bit/inla", package = "INLA"))', I get FALSE
  • Whenever I try to load INLA using library(INLA), it's successful. If I try to run a tester model, I get 'Error in inla.call.builtin() : INLA installation error; no such file '

Helpdesk (Haavard Rue)

unread,
Aug 1, 2025, 2:37:04 PMAug 1
to Ufuoma Ovienmhada, R-inla discussion group

do you use the R from CRAN? if you use R from brew, it will not 'work' out-of-
the box.
>  * I followed instructions at https://www.r-inla.org/download-install and ran
> 'install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-
> download.org/R/stable"), dep=TRUE)'. I also tried the testing version
>  * I tried adding an argument 'type="binary' to the above call, as seen in a
> stack exchange thread
>  * At some point, I found that the path to the binary was
> ''/Users/ufuoma/Library/R/x86_64/4.5/library/INLA/bin/mac.arm64/inla" which
> seemed to be different than expectedI tried creating a symbolic link in
> Terminal using
> 'cd /Users/ufuoma/Library/R/x86_64/4.5/library/INLA/bin/macmkdir -p 64bitln -
> s ../mac.arm64/inla 64bit/inla'
> Error
>  * No matter what I've attempted, whenever I run
> 'file.exists(system.file("bin/mac/64bit/inla", package = "INLA"))', I get
> FALSE
>  * Whenever I try to load INLA using library(INLA), it's successful. If I try
> to run a tester model, I get 'Error in inla.call.builtin() : INLA installation
> error; no such file '
>
> --
> 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/5e5ec7a4-ef2b-4490-afc3-d4731cbe26e1n%40googlegroups.com
> .

--
Håvard Rue
he...@r-inla.org
Reply all
Reply to author
Forward
0 new messages