Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Application VersionCentOS 7: 3.6.0, CentOS 8: 4.0.2, Debian 9: 3.3.3, Debian 10: 3.5.2, Ubuntu 18.04: 3.4.4
LicenseMultiple licenses
Websitehttps://www.r-project.org/

Description

Self-Service Version Installation/Updates

Specific versions of R can be installed by using Conda on your Cortex VM.  To do so, first search the R and conda-forge channels to see what versions of R are available:

(base) -bash-4.2$ conda search -c conda-forge -c r r
Loading channels: done
# Name                       Version           Build  Channel
r                              3.1.2               0  pkgs/r
r                              3.1.2               1  pkgs/r
r                              3.1.2               2  pkgs/r
r                              3.1.2               3  pkgs/r
r                              3.1.3               0  pkgs/r
r                              3.2.0               0  pkgs/r
r                              3.2.1               0  pkgs/r
r                              3.2.2               0  pkgs/r
r                              3.3.1        r3.3.1_0  r
r                              3.3.1        r3.3.1_0  pkgs/r
r                              3.3.1        r3.3.1_1  r
r                              3.3.1        r3.3.1_1  pkgs/r
r                              3.3.2        r3.3.2_0  conda-forge
r                              3.3.2        r3.3.2_0  r
r                              3.3.2        r3.3.2_0  pkgs/r
r                              3.4.1        r3.4.1_0  conda-forge
r                              3.4.1        r3.4.1_0  r
r                              3.4.1        r3.4.1_0  pkgs/r
r                              3.4.2      h65d9972_0  r
r                              3.4.2      h65d9972_0  pkgs/r
r                              3.4.3        mro343_0  r
r                              3.4.3        mro343_0  pkgs/r
r                              3.4.3          r343_0  r
r                              3.4.3          r343_0  pkgs/r
r                              3.5.0        mro350_0  r
r                              3.5.0        mro350_0  pkgs/r
r                              3.5.0          r350_0  r
r                              3.5.0          r350_0  pkgs/r
r                              3.5.1        mro351_0  r
r                              3.5.1        mro351_0  pkgs/r
r                              3.5.1          r351_0  conda-forge
r                              3.5.1          r351_0  r
r                              3.5.1          r351_0  pkgs/r
r                              3.5.1       r351_1000  conda-forge
r                              3.5.1        r35_1002  conda-forge
r                              3.5.1        r35_1003  conda-forge
r                              3.6.0           r36_0  r
r                              3.6.0           r36_0  pkgs/r
r                                3.6        r36_1002  conda-forge
r                                3.6        r36_1003  conda-forge
r                                3.6        r36_1004  conda-forge
r                                4.0        r40_1004  conda-forge

When you have found the version that you want, create a new conda environment with that version using the following syntax:

(base) -bash-4.2$ conda create -n r -c conda-forge -c r r=4.0

To use the version you want, you can activate your conda environment with the following syntax:

(base) -bash-4.2$ conda activate r
(r) -bash-4.2$ R --version
R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-conda_cos6-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

Version History

DateLinux DistributionVersion
2020/07/27CentOS 73.6.0
2020/07/27CentOS 84.0.2
2020/07/27Debian 93.3.3
2020/07/27Debian 103.5.2
2020/07/27Ubuntu 18.043.4.4

Further Reading

  • No labels