At the termianl after installing R-base, using the following commands for conda environment worked for us. conda create -n r conda activate r conda install -c r r-essentials