R in Jupyter Notebook

Asked

Viewed 671 times

0

I use Python Jupyter Notebook. I want to use R also on the same platform. I know it’s possible, but I couldn’t figure out how.

Could someone give a hint?

  • When necessary, I use the online version and then download the notebook. Do the test, make sure it doesn’t answer: http://jupyter.org/try

1 answer

1

Basically what you need to do is install the Irkernel which is equivalent to Ipython.

To install just run on R:

install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
devtools::install_github('IRkernel/IRkernel')

Then (also on R) - to make it available.

IRkernel::installspec()

More information here.

  • At the end of the installation 9 compressed files were downloaded... is any other procedure necessary? The downloaded source Packages are in voltar /tmp/Rtmp2zgmwo/downloaded_packages'

Browser other questions tagged

You are not signed in. Login or sign up in order to post.