Title pretty much says it. I have epel installed and when I try to yum the new version, I get version 3.6.0.
I know it’s possible to compile it from the source, but CRAN seems to want to steer me away from that (and I’m happy to oblige).
Title pretty much says it. I have epel installed and when I try to yum the new version, I get version 3.6.0.
I know it’s possible to compile it from the source, but CRAN seems to want to steer me away from that (and I’m happy to oblige).
3
Answers
I was able to get R version 4.0.2 using the script on this page:
https://www.osradar.com/how-to-install-r-and-rstudio-on-centos-8/
The only problem was that the instructions to fix the path weren't working for me, so I just changed it in RStudio Server.
The default channel does not store the latest version of R. Fortunately, you can get the latest version of R through the conda-forge channel. Therefore, you should add this channel first.
The RStudio documentation has a detailed tutorial on how to install almost any R version (including 4.X.X) on CentOS 7 & 8: https://docs.rstudio.com/resources/install-r/#optional-install-recommended-packages
In case the link is taken down, I detail here the steps for CentOS 7: