6

I am having issues finding a way to Update R on CentOS.

I ran "yum remove R" and returned a successful message. But when i type R it still loads up the R environment.

Do i need to remove it another way first, before updating? I'm Running R Version 2.15.2

2 Answers 2

3

You should be able to just run the following to update your R distribution.

yum update R

Further details are needed if you are having additional problems. Or try removing all the R components separately as noted by @TARehman.

Note - this all assumes you don't need sudo privileges otherwise you would need to make some administrative requests if you aren't the owner of the machine.

1
  • This did not work on my Centos server
    – con
    Jul 30, 2020 at 21:40
2

On our CentOS machines, R involves a few different things. Running yum list installed | grep R returns:

R.x86_64                                  2.15.2-1.el5                 installed
R-core.x86_64                             2.15.2-1.el5                 installed
R-devel.x86_64                            2.15.2-1.el5                 installed

I'd suggest that you do sudo yum remove on all of them if you're concerned that you're not getting the newest version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.