r-base-3.2.2 installed instead of 4.0.2

17 views
Skip to first unread message

Bertrand B.

unread,
Aug 6, 2020, 8:39:27 AM8/6/20
to Anaconda - Public
To whom it may concern,

I am using Anaconda3-2020.07 on linux and I am trying to install the r-base package using :

conda install -c conda-forge/label/main r-base

The following NEW packages will be INSTALLED:                                                                              
r-base             pkgs/r/linux-64::r-base-3.2.2-0 

I expected the version 4.0.2 :


How can I install version 4.0.2 with Anaconda3-2020.07 ?

Thank you for your help,

Cheers,

Bertrand

Bertrand B.

unread,
Aug 6, 2020, 5:57:47 PM8/6/20
to Anaconda - Public
Hello everybody,

conda search r-base --info :
 

r-base 3.6.1 hce969dd_0                                                                                               

 -----------------------                                                                                                

file name   : r-base-3.6.1-hce969dd_0.tar.bz2                                                                          

name        : r-base                                                                                                  

 version     : 3.6.1                                                                                                     

build       : hce969dd_0                  


while conda install -c conda-forge r-base 


The following NEW packages will be INSTALLED:                                                                                                                                                                                                     _r-mutex           conda-forge/noarch::_r-mutex-1.0.1-anacondar_1  

 r-base             pkgs/r/linux-64::r-base-3.2.2-0          




I am not sure to understand why conda search r-base gives a different version than the one installed with conda install -c conda-forge r-base 


Cheers,


Bertrand



Jim Lareau

unread,
Aug 6, 2020, 9:15:12 PM8/6/20
to Anaconda - Public
A Google search for: r-base :: anaconda

Yields an anaconda doc page for r 3.6.1 that instructs you to use the following command for that version:

conda install -c r r-base

Hope reading the documentation helps!

Regards,

Jim

Jim Lareau

unread,
Aug 6, 2020, 9:41:46 PM8/6/20
to Anaconda - Public
If 4.0.2 is the version you need:

A Google search for: r-base :: Anaconda 4.0.2

Yields an anaconda doc page for r 4.0.2 that instructs you to use one ofthe following commands for that version:

conda install -c conda-forge r-base
conda install -c conda-forge/label/gcc7 r-base
conda install -c conda-forge/label/broken r-base
conda install -c conda-forge/label/cf201901 r-base
conda install -c conda-forge/label/cf202003 r-base

Bertrand B.

unread,
Aug 7, 2020, 8:02:20 AM8/7/20
to Anaconda - Public
Thank you Jim for your help,

Sorry I did not put it in my earlier messages, but I actually searched on google and found these suggestions but they did not work (I tried all of them).

For example,

conda install -c conda-forge/label/cf202003 r-base

    package                    |            build
    ---------------------------|-----------------
    _r-mutex-1.0.1             |      anacondar_1           3 KB  conda-forge/label/cf202003
    conda-4.8.3                |   py38h32f6830_1         3.0 MB  conda-forge/label/cf202003
    r-base-3.2.2               |                0        18.9 MB
    ------------------------------------------------------------
                                           Total:        21.9 MB

still installs r-base-3.2.2.

Any idea why r-base does not come from the conda-forge/label/cf202003 channel while the other 2 packages (_r-mutex-1.0.1 , conda-4.8.3) do ?

I also tried conda install -c r r-base to get r 3.6.1 but still got 3.2.2 :

Package                    |            build                                                                          

---------------------------|-----------------                                                                          

_r-mutex-1.0.0             |      anacondar_1           3 KB                                                           

r-base-3.2.2               |                0        18.9 MB                                                           

----------------------------------------------------------                                                                                                   Total:        18.9 M


Thanks for your help,

Cheers,

Bertrand

Jim Lareau

unread,
Aug 7, 2020, 7:44:34 PM8/7/20
to Anaconda - Public
Since those Anaconda doc sites appear to be in error, then THAT would be an appropriate question to ask here. I an not qualified to answer that, but perhaps one of the Anaconda experts here can answer your question.
Reply all
Reply to author
Forward
0 new messages