Installation Under R-4.1

212 views
Skip to first unread message

Aaron Wagner

unread,
Aug 10, 2021, 3:42:13 PM8/10/21
to R-inla discussion group
Can anybody tell me why I cannot seem to install INLA using R-4.1, below is session info:

> sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.6

Trying to install with: 

install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE)

Encountering this error:

Installing package into ‘/Users/aaronwagner/Desktop/NegBinMixed/renv/library/R-4.1/x86_64-apple-darwin17.0’
(as ‘lib’ is unspecified)
Warning message:
package ‘INLA’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
> sessionInfo()

Seems to me according the INLA website INLA should be available for R-4.1, but maybe I am missing something

Helpdesk

unread,
Aug 10, 2021, 4:52:14 PM8/10/21
to Aaron Wagner, R-inla discussion group

this is what I get. You have installed 'R-4.1' from CRAN, right?


kw-16659:~ rueh$ R

R version 4.1.0 (2021-05-18) -- "Camp Pontanezen"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)

R 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 locale

R 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.

Loading required package: Matrix
Loading required package: foreach
Loading required package: parallel
Loading required package: sp
This is INLA_21.07.10-1 built 2021-07-10 12:09:09 UTC.
- See www.r-inla.org/contact-us for how to get help.
- To enable PARDISO sparse library; see inla.pardiso()
>
install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/testing
"), dep=TRUE)
trying URL
'http://inla.r-inla-download.org/R/testing/bin/macosx/contrib/4.1/INLA_21.07.10-1.tgz'
Content type 'application/x-tar' length 57909828 bytes (55.2 MB)
==================================================
downloaded 55.2 MB


The downloaded binary packages are in
/var/folders/f4/dx7jrt3s0rl_92zv6m32zdc5rjqmy7/T//RtmpPEQ0vy/do
wnloaded_packages
> --
> 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 on the web, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/458c899d-24f1-4b41-a1ba-3f6a351f67c9n%40googlegroups.com
> .

--
Håvard Rue
he...@r-inla.org

Helpdesk

unread,
Aug 10, 2021, 5:04:34 PM8/10/21
to Aaron Wagner, R-inla discussion group

you can also try to do this manually

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 55.2M 100 55.2M 0 0 7670k 0 0:00:07 0:00:07 --:--:-- 12.2M
kw-16659:~ rueh$ ls -l INLA.tgz
-rw-r--r-- 1 rueh KAUST\Domain Users 57909828 Aug 11 00:03 INLA.tgz
kw-16659:~ rueh$ R --vanilla CMD INSTALL INLA.tgz
* installing to library ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library’
* installing *binary* package ‘INLA’ ...
* DONE (INLA)
kw-16659:~ rueh$
Reply all
Reply to author
Forward
0 new messages