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

2.7k Views Asked by At

I have recently updated INLA using the inla.update on my machine. Now everytime I try to run a function from the package, such as inla.mesh.2d I obtain the following error: Error in inla.call.builtin() : INLA installation error; no such file I tried uninstalling and reinstalling INLA package both in its testing and stable version but it still won't work. I will paste below the output from sessionInfo():

R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] it_IT.UTF-8/it_IT.UTF-8/it_IT.UTF-8/C/it_IT.UTF-8/it_IT.UTF-8

attached base packages:
[1] parallel  stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] INLA_22.01.16 sp_1.4-5      foreach_1.5.1 Matrix_1.3-4 

loaded via a namespace (and not attached):
[1] compiler_4.0.3   tools_4.0.3      tinytex_0.32     splines_4.0.3    codetools_0.2-18 grid_4.0.3      
[7] iterators_1.0.13 xfun_0.23        lattice_0.20-44 

Thank You!

1

There are 1 best solutions below

1
On

The error you are getting may be resolved if you update your R to its latest version so INLA requirements are met. Restart after updating R.

If this does not resolve the problem, installing directly from the R interface (vs RStudio) might fix the problem. This link explains how it is done and might be helpful if the first solution did not help.

https://groups.google.com/g/r-inla-discussion-group/c/f3LAE2VHZQw