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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s