/usr/local/lib/R/site-library/INLA/bin/linux/64bit/inla.mkl.run: Permission denied

313 views
Skip to first unread message

JUAN MIGUEL REQUENA MULLOR

unread,
Sep 21, 2022, 7:54:54 AM9/21/22
to R-inla discussion group
Hello INLA developers,

I'm having trouble when running a really simple model on Ubuntu 20.04.5 LTS and R-INLA version 22.05.07.

y <- as.data.frame(rnorm(100))
mod <- inla(y ~ 1, data = y)

ERROR:
sh: 1: /usr/local/lib/R/site-library/INLA/bin/linux/64bit/inla.mkl.run: Permission denied
Error in inla.inlaprogram.has.crashed()
----------------------------------
I ran inla.binary.install() and tried to install the Alternative 7: ./Ubuntu-22.04 LTS (Jammy Jellyfish)/Version_22.05.07/64bit.tgz
but I got the following error:

Error in file(file, "r") : cannot open the connection
In addition: Warning messages:
1: In download.file(map.filename(fnm), to.file, quiet = TRUE) :
  URL https://inla.r-inla-download.org/Linux-builds/./Ubuntu-22.04%20LTS%20(Jammy%20Jellyfish)/Version_22.05.07/64bit.tgz: cannot open destfile '/usr/local/lib/R/site-library/INLA/bin/linux/64bit-download-159049529528746.tgz', reason 'Permission denied'
2: In download.file(map.filename(fnm), to.file, quiet = TRUE) :
  download had nonzero exit status
3: In download.file(map.filename(fnm.md5), md5.file, quiet = TRUE) :
  URL https://inla.r-inla-download.org/Linux-builds/./Ubuntu-22.04%20LTS%20(Jammy%20Jellyfish)/Version_22.05.07/md5sum.txt: cannot open destfile '/usr/local/lib/R/site-library/INLA/bin/linux/64bit-download-md5sum-159049529528746.txt', reason 'Permission denied'
4: In download.file(map.filename(fnm.md5), md5.file, quiet = TRUE) :
  download had nonzero exit status
5: In file(file, "r") :
  cannot open file '/usr/local/lib/R/site-library/INLA/bin/linux/64bit-download-md5sum-159049529528746.txt': No such file or directory
----------------------------------------------------------
Some help is really welcome!
Thank you in advance!
Juanmi  

INLA help

unread,
Sep 22, 2022, 2:49:19 AM9/22/22
to JUAN MIGUEL REQUENA MULLOR, R-inla discussion group
Can you upgrade to the testing version? Let me know how this goes 

From: 'JUAN MIGUEL REQUENA MULLOR' via R-inla discussion group <r-inla-disc...@googlegroups.com>
Sent: Wednesday, September 21, 2022 3:54:53 PM
To: R-inla discussion group <r-inla-disc...@googlegroups.com>
Subject: [r-inla] /usr/local/lib/R/site-library/INLA/bin/linux/64bit/inla.mkl.run: Permission denied
 
--
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/6ff18888-d70d-4678-98e9-16df0a9af056n%40googlegroups.com.

Havard Rue

unread,
Sep 22, 2022, 2:50:09 AM9/22/22
to INLA help, JUAN MIGUEL REQUENA MULLOR, R-inla discussion group
It looks like you could have installed the package as root ?

From: r-inla-disc...@googlegroups.com <r-inla-disc...@googlegroups.com> on behalf of INLA help <he...@r-inla.org>
Sent: Thursday, September 22, 2022 10:49:13 AM
To: JUAN MIGUEL REQUENA MULLOR <jua...@ual.es>; R-inla discussion group <r-inla-disc...@googlegroups.com>
Subject: Re: [r-inla] /usr/local/lib/R/site-library/INLA/bin/linux/64bit/inla.mkl.run: Permission denied
 

Havard Rue

unread,
Sep 22, 2022, 2:50:36 AM9/22/22
to INLA help, JUAN MIGUEL REQUENA MULLOR, R-inla discussion group
And then the permissions are wrong 

From: Havard Rue <hr...@r-inla.org>
Sent: Thursday, September 22, 2022 10:50:04 AM
To: INLA help <he...@r-inla.org>; JUAN MIGUEL REQUENA MULLOR <jua...@ual.es>; R-inla discussion group <r-inla-disc...@googlegroups.com>

JUAN MIGUEL REQUENA MULLOR

unread,
Sep 22, 2022, 3:38:18 AM9/22/22
to Havard Rue, INLA help, R-inla discussion group
Hello,

ops!!!, I forgot I installed it as a root, using sudo fixed the problem. I'm sorry for the inconvenience.
Thank you!!!
Juanmi
--
Juan Miguel Requena Mullor, PhD
María Zambrano Postdoctoral Fellow
Department of Biology and Geology
University of Almería

Repositories:
Websites:

Mike Gahan

unread,
Dec 21, 2022, 11:05:18 AM12/21/22
to R-inla discussion group
Running into a similar issue. If I am working on a shared server, does each individual need to install INLA to their personal user libraries? I usually install R packages as root for the team to access

Helpdesk (Haavard Rue)

unread,
Dec 28, 2022, 2:30:06 PM12/28/22
to Mike Gahan, R-inla discussion group
you can install it globally if you like, then as root for the team to
access

On Wed, 2022-12-21 at 08:05 -0800, Mike Gahan wrote:
> Running into a similar issue. If I am working on a shared server, does
> each individual need to install INLA to their personal user libraries?
> I usually install R packages as root for the team to access
>
> On Thursday, September 22, 2022 at 12:38:18 AM UTC-7 jua...@ual.es
> wrote:
> > Hello,
> >
> > ops!!!, I forgot I installed it as a root, using sudo fixed the
> > problem. I'm sorry for the inconvenience.
> > Thank you!!!
> > Juanmi
> >
> > On Thu, Sep 22, 2022 at 8:50 AM Havard Rue <hr...@r-inla.org> wrote:
> > > And then the permissions are wrong 
> > >
> > > Get Outlook for iOS
> > > From: Havard Rue <hr...@r-inla.org>
> > > Sent: Thursday, September 22, 2022 10:50:04 AM
> > > To: INLA help <he...@r-inla.org>; JUAN MIGUEL REQUENA MULLOR
> > > <jua...@ual.es>; R-inla discussion group
> > > <r-inla-disc...@googlegroups.com>
> > > Subject: Re: [r-inla] /usr/local/lib/R/site-
> > > library/INLA/bin/linux/64bit/inla.mkl.run: Permission denied
> > >  
> > > It looks like you could have installed the package as root ?
> > >
> > > Get Outlook for iOS
> > > From: r-inla-disc...@googlegroups.com
> > > <r-inla-disc...@googlegroups.com> on behalf of INLA help
> > > <he...@r-inla.org>
> > > Sent: Thursday, September 22, 2022 10:49:13 AM
> > > To: JUAN MIGUEL REQUENA MULLOR <jua...@ual.es>; R-inla discussion
> > > group <r-inla-disc...@googlegroups.com>
> > > Subject: Re: [r-inla] /usr/local/lib/R/site-
> > > library/INLA/bin/linux/64bit/inla.mkl.run: Permission denied
> > >  
> > > Can you upgrade to the testing version? Let me know how this goes 
> > >
> > > Get Outlook for iOS
> > > https://groups.google.com/d/msgid/r-inla-discussion-group/GVXP195MB163837BFB7AA5C0C008F49DFA14E9%40GVXP195MB1638.EURP195.PROD.OUTLOOK.COM
> > > .
> >
> >

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