Digging R

Introduction to R R is a programming language and software framework for statistical analysis and graphics. Available for use under the GNU General Public License R software and installation instructions can be obtained via the Comprehensive R Archive and Network The following R code illustrates a typical analytical situation in which a dataset is imported,…

Use Default Python Rather than Anaconda Path

Anaconda adds the path to  .bashrc so it is found first, you can add the path to your default python to .bashrc or remove the path to anaconda if you don’t want to use it. You can also use the full path /usr/bin/python in bash to use the default python interpreter. If you leave your…

R kernel always dead: Jupyter and anaconda for R

Got this issue as IRkernal was dying after restarting in jupyter-notebook. The problem appeared to be with the IRkernel version. The following script after installation using R or Rstudio resolved the issue install.packages(c(‘repr’, ‘IRdisplay’, ‘pbdZMQ’, ‘devtools’)) devtools::install_github(‘IRkernel/IRkernel’) IRkernel::installspec() # to register the kernel in the current R installation

python-mapnik: Misssing shared library libicuuc.so.52 Error

After installation of Mapnik was getting error running import Mapnik: Traceback (most recent call last): File “./generate_image.py”, line 16, in <module> import mapnik File “/usr/local/python2.6/dist-package/mapnik/__init__.py”, line 69, in <module> from _mapnik import * ImportError: libicuuc.so.52: cannot open shared object file: No such file or directory This may cause the problem, an old mapnik installation from…