How to upgrade R on CentOS

Viewed 1632

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.

1 Answers
Related