add R to jupyter notebook solve -- unable to load shared object 'somepath/anaconda2/lib/R/modules//'

first simply run

$conda install -c r r-irkernel  

$conda install -c r r-essentials 
if encounter the below error when fire up R

unable to load shared object ‘/home/someuser/anaconda2/lib/R/modules//’: cannot open shared object file: No such file or directory



You need to execute the following commends in orders 

  1. $conda install -c r r-base 
  2. $conda install -c r r-essentials


For Oracle Linux


Python free space:

Don’t forget to clean up tarballs

$conda clean -a