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

first simply run

$conda install -c r r-irkernel  

 or
$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//R_X11.so’:
libSM.so.6/libXrender.so.1: cannot open shared object file: No such file or directory

 

usr/lib64/libSM.6.0.1

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 

https://docs.oracle.com/cd/E57012_01/doc.141/e57007/install_r.htm

https://cran.rstudio.com/bin/linux/redhat/README

https://fedoraproject.org/wiki/EPEL

 

Python free space:

Don’t forget to clean up tarballs

$conda clean -a

Leave a Reply

Your email address will not be published.