Update R to 3.2 from 3.02

I'm on Linux Mint. I have version 3.0.2 of version R installed. I need to use the just released library and require R version 3.2. http://www.bioconductor.org/packages/devel/bioc/html/CODEX.html

What should I do to upgrade my version of R to 3.2?

I tried to add some repositories to apt, but not only it is trying to install R 3.1.2, but the installation itself does not work.

The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 3.1.2-1precise0) but 3.0.2-1ubuntu1 is to be installed Depends: r-recommended (= 3.1.2-1precise0) but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

Then I tried to compile 3.2 from the source code, but running configure gives the following error:

 configure: error: --with-readline=yes (default) and headers/libs are not available 

Can anyone consult?

+6
source share
1 answer

I found good instructions on how to update R here: https://askubuntu.com/questions/218708/installing-latest-version-of-r-base

In my case it works:

 sudo apt-get remove r-base-core 

Before installing the new version of R. However, this only allows me to install R 3.1.2, which does not completely solve my problem.

+1
source

Source: https://habr.com/ru/post/983051/


All Articles