- Copied from https://github.com/conda/conda-recipes/blob/master/r-base
- Only tested on ubuntu 18.04 and miniconda3
Add forge channel.
conda config --add channels conda-forge
- Create r-devel env
git clone https://github.com/hubentu/conda-r-devel.git
cd conda-r-devel
conda create -n r-devel
conda activate r-devel
- Build and install From source
conda install conda-build
conda build .
conda install --use-local path/to/r-devel
Or just install the compiled version from ubuntu 18.04
conda install --use-local r-devel-4.0.0-0.tar.bz2
conda install readline
- Use R 4.0
conda activate r-devel
R --version