Skip to content

R 4.0 for CentOS 7

9 messages · Iñaki Ucar, Evan Cooch, Peter Dalgaard +1 more

H
#
I am running R 4.6 under CentOS 7 but would like to upgrade. Just found that 4.0 is available for CentOS 8 but could it be released for CentOS 7 as well?

If so, that would be great!
#
Please, do not crosspost. As I said in the Bugzilla issue, R cannot be
further updated in EPEL-7, see
https://bugzilla.redhat.com/show_bug.cgi?id=1871685#c2.

I?aki
On Fri, 30 Oct 2020 at 02:30, H <agents at meddatainc.com> wrote:

  
    
H
#
On 10/30/2020 05:02 AM, I?aki Ucar wrote:
I see. Is anyone running R 4.0 on CentOS 7? If so, how do you do it?
#
Really? If I?aki says it can't be done (even using devtools, which I've 
tried), then you need to move on.
On 10/30/2020 8:57 PM, H wrote:
#
Please, see spot's comment in the BZ I linked in my previous comment.
The thing is not that it can't be done (you could install a newer
devtoolset, v8 or v9, build R and use it), the thing is that it cannot
be distributed in EPEL, because we're allowed to build against a
devtoolset, but not depend on it, so the distribution would be broken
(you could not install packages unless you know that you need a
specific devtoolset, so you install and activate it).
On Sat, 31 Oct 2020 at 02:05, Evan Cooch <evan.cooch at gmail.com> wrote:

  
    
H
#
On 10/31/2020 06:54 AM, I?aki Ucar wrote:
Understood. Since I am running CentOS 7, I guess I could create a CentOS 8 docker container and install R in that? I am not planning to upgrade the system to CentOS 8.
#
I don't know the specifics of CentOS, but it is usually possible to build and use a private version of R, and if I read the below correctly, that might even be rather easy. 

The price may be that you need to build all packages from source using the same tools that you used for building R. That would probably be only mildly painful.

-pd

  
    
#
On Sat, 31 Oct 2020 at 20:52, H <agents at meddatainc.com> wrote:
Of course, you can do that. With podman it's even easier. But then I'd
use Fedora as the base image instead, because you'll enjoy binary
installations for most of CRAN via Copr [1]. You even have a docker
image ready to go [2]. (Disclaimer: I'm the maintainer of that
project).

[1] https://copr.fedorainfracloud.org/coprs/iucar/cran/
[2] https://hub.docker.com/r/enchufa2/cran2copr/dockerfile
H
#
On 10/31/2020 06:05 PM, I?aki Ucar wrote:
OK, since I am already running CentOS, I may still stick with CentOS but your point is well-taken. I also prefer to define my containers myself so I have full control - and understand - how they are set up...

I have come across COPR but it is not among my repos, I need to learn more.

Thank you!