Adding R kernel to Jupyter notebook

If you have Anaconda installed, you can run Jupyter notebooks by typing

$python -m notebook

In case you need to add a R kernel, you will need to install the iterative kernels using the following commands:

Update conda using

$ conda update ipython-notebook

Install the interactive R kernel with:

$ conda install -c r r-essentials

These “essentials” include the packages dplyr, shiny, ggplot2, tidyr, caret, and nnet

Sources

http://blog.revolutionanalytics.com/2015/09/using-r-with-jupyter-notebooks.html

https://discuss.analyticsvidhya.com/t/how-to-run-r-on-jupyter-ipython-notebooks/5512/2

https://www.datacamp.com/community/blog/jupyter-notebook-r

Leave a comment