简体   繁体   中英

How to upgrade R on CentOS

I am running version 3.6 of R on CentOS (CentOS Linux release 7.9.2009 (Core)). Is there a simple way to upgrade R to the latest version and upgrade all the installed libraries?

EPEL repository on my machine is epel-release-7-13.noarch and by default, it installs version 3.6 of R.

I was referring to the following post -https://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r but the package installr is only available for Windows.

There is another post ( How to upgrade R in ubuntu? ) that describes how to upgrade R on Ubuntu, however some of these commands do not work on CentOS.

I am sure there must be a painless way to upgrade R in CentOS.

I think this post may help you:

How can I install the newest version of R (currently 4.0.0) on CentOS?

At this point, I'm sure you've solved the problem, but perhaps this will help others.

Official centOS instructions are located here: https://cran.r-project.org/bin/linux/fedora

With centOS, there's not an easy solution, but this may be the best you can find on the topic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM