Hi,Something strange is happening still:(1) I upgraded my OS, so now I have:uname -aDarwin S37-0Y3YJF6V 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:34:14 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T8122 arm64sw_versProductName: macOSProductVersion: 15.4.1BuildVersion: 24E2632) I also deleted and re-installed R from CRAN.3) Tried INLA installation again and got this error (see the bolded part)install.packages("INLA", repos = c(getOption("repos"), INLA = "https://inla.r-inla-download.org/R/testing"))trying URL 'https://inla.r-inla-download.org/R/testing/bin/macosx/big-sur-arm64/contrib/4.5/INLA_25.05.04-1.tgz'
Content type 'application/x-tar' length 58172018 bytes (55.5 MB)==================================================downloaded 55.5 MB
Error in install.packages : file ‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpatNkWj/downloaded_packages/INLA_25.05.04-1.tgz’ is not a macOS binary packageWhich is exactly the same message I got before prior to the OS upgrade:(I also tried with the suggested remotes code chunk on the R-INLA website, which installs the package, BUT the inla binary is missing:(
remotes::install_version("INLA", version = "25.04.29",
+ repos = c(getOption("repos"), INLA = "https://inla.r-inla-download.org/R/testing"))
Downloading package from url: https://inla.r-inla-download.org/R/testing/src/contrib/INLA_25.04.29.tar.gz
* installing *binary* package ‘INLA’ ...* DONE (INLA)
df <- data.frame(y = rnorm(100) + 10)fit <- INLA::inla(+ y ~ 1,+ data = df+ )
Error in inla.call.builtin() : INLA installation error; no such file
I am getting the same issue both on my laptop and on my desktop - both have the same OS.gg
On Mon, May 05, 2025 at 09:08:36, Helpdesk (Haavard Rue)<he...@r-inla.org> wrote:
You need to use the CRAN version of R, and retry with the newest testing version of R-INLA.My MacOS isKW-18302:~ rueh$ sw_versProductName: macOSProductVersion: 15.3BuildVersion: 24D60so it might, independently, be a good idea to upgrade MacOS as wellOn Mon, 2025-05-05 at 00:56 -0700, Gregor Gorjanc wrote:
Hi,I just tried a fresh install of R-INLA on my MacOS (Sonoma 14.7.5 (23H527), M3 chip) and keep failing. I followed instructions
at https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.r-inla.org%2Fdownload-install&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163874434%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2FCzxfXLCG1sx0%2BhwjEpfkxzHkd6zxXk7alf%2FBhDKjYM%3D&reserved=0 and tried both:
1) with R from Homebrew and2) with R from CRANIn both cases I get stuck. Here is the error I get form using the R from CRAN:library(INLA)fit <- inla(y ~ 1, data = data.frame(y = rnorm(100)))Error in inla.call.builtin() : INLA installation error; no such filesystem.file("bin/", package = "INLA")[1] "/Users/ggorjanc/Library/R/arm64/4.5/library/INLA/bin/"dir(system.file("bin/", package = "INLA"))[1] "linux" "mac" "remote" "windows"dir(system.file("bin/mac", package = "INLA"))character(0)I am at a loss at what else I could do. Bellow I show more details.Thanks!GregorR version 4.5.0 (2025-04-11) -- "How About a Twenty-Six" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: aarch64-apple-darwin20R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.Natural language support but running in an English localeR is a collaborative project with many contributors. Type 'contributors()' for more information and'citation()' on how to cite R or R packages in publications.Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
install.packages("INLA",repos=c(getOption("repos"),INLA="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Fstable&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163899879%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=aTY9OJvCb8AGLl3gBhz8QQR3t5Rkft9JG2%2BQitxOMhg%3D&reserved=0"), dep=TRUE)
Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’(as ‘lib’ is unspecified)trying URL
'https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting%2Fbin%2Fmacosx%2Fbig-sur-arm64%2Fcontrib%2F4&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163914237%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=plcaIf8ucQWMKzL9YdPe0d7vNUriGY6A0ybcddCRJCM%3D&reserved=0
.5/INLA_25.05.04-1.tgz'Content type 'application/x-tar' length 58172018 bytes (55.5 MB)================================================== downloaded 55.5 MBError in install.packages : file‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packa ges/INLA_25.05.04-1.tgz’ is not a macOS binary package
install.packages("INLA",repos=c(getOption("repos"),INLA="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163927448%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=VyJqzWeItw9GMNRkxPFgMFmS2Bat07jpeTJBL3EFyjk%3D&reserved=0"), dep=TRUE)
Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’(as ‘lib’ is unspecified)trying URL
'https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting%2Fbin%2Fmacosx%2Fbig-sur-arm64%2Fcontrib%2F4&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163941037%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=IB5%2F%2F5sbF3RPZ3SFtb%2B0dbXPoUlLONKersMvggg8Rtw%3D&reserved=0
.5/INLA_25.05.04-1.tgz'Content type 'application/x-tar' length 58172018 bytes (55.5 MB)================================================== downloaded 55.5 MBError in install.packages : file‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packa ges/INLA_25.05.04-1.tgz’ is not a macOS binary packageremotes::install_version("INLA", version = "25.04.29",+ repos = c(getOption("repos"), INLA =
"https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163954441%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=X6Zww0YRBjyAI%2FOdk481vX4FY8wXAPjJNhyObufi1wQ%3D&reserved=0"), dep = TRUE) Downloading package fromurl: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting%2Fsrc%2Fcontrib%2FINLA_25.04.29.tar&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163967340%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=12wr9Xnf3Th8Ein1f6fBOiHbdypDKcQrO9Yp2g186vA%3D&reserved=0. gz
Skipping 3 packages not available: graph, Rgraphviz, HKprocess Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’(as ‘lib’ is unspecified)* installing *binary* package ‘INLA’ ...* DONE (INLA)library(INLA)Loading required package: MatrixThis is INLA_25.04.29 built 2025-04-29 21:06:26 UTC.
- See https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-inla.org%2Fcontact-us&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163980128%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=d%2B9zBykQ%2FHLNPI8cHc%2FUBTOthDyxh7pYyNEk1n1l3KU%3D&reserved=0 for how to get help.
- List available models/likelihoods/etc with inla.list.models()- Use inla.doc(<NAME>) to access documentation- Save 173Mb of storage running 'inla.prune()'- Consider upgrading R-INLA to testing[25.05.04-1] or stable[24.12.11].fit <- inla(y ~ 1, data = data.frame(y = rnorm(100)))Error in inla.call.builtin() : INLA installation error; no such filesystem.file("bin/", package = "INLA")[1] "/Users/ggorjanc/Library/R/arm64/4.5/library/INLA/bin/"dir(system.file("bin/", package = "INLA"))[1] "linux" "mac" "remote" "windows"dir(system.file("bin/mac", package = "INLA"))character(0)inla.upgrade(testing=TRUE) # for the testing versionINLA :
Version 25.04.29 installed in /Users/ggorjanc/Library/R/arm64/4.5/library Version 25.05.04-1 available at https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163992739%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=YX96JhCvu3ykIVj5DzfLbd81h8o%2FUqXWibu7vgkhEw0%3D&reserved=0 Update? (Yes/no/cancel)trying URL'https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting%2Fbin%2Fmacosx%2Fbig-sur-arm64%2Fcontrib%2F4&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293164008872%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=sRNb180Kc4Fi1lRoYbi8E2zItjZszmticiuuGxfBiWI%3D&reserved=0
.5/INLA_25.05.04-1.tgz'Content type 'application/x-tar' length 58172018 bytes (55.5 MB)================================================== downloaded 55.5 MBError: file‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packa ges/INLA_25.05.04-1.tgz’ is not a macOS binary package--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 tor-inla-discussio...@googlegroups.com. To view this discussion, visit.
--
Håvard Rue he...@r-inla.org
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/6021d31925e4ded125497782ed94387d7d890fe5.camel%40r-inla.org.
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/86731c2b468cb0aa99c5fa749e4659f13c1621ee.camel%40r-inla.org.
To view this discussion, visit https://groups.google.com/d/msgid/r-inla-discussion-group/CAHC4gzYoLi%2BLsDiEaLdErx_GhKA5LQFtgc5tk5XGv6DyDr7pCg%40mail.gmail.com.