R kernel for Jupyter Notebook 支持r

1/2) Installing via supplied binary packages
(default on Windows + Mac OS X)

You can install all packages using the following lines in an R console:

install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
devtools::install_github('IRkernel/IRkernel')
# Don’t forget step 2/2!

To update the IRkernel package, which is not yet on CRAN, you have to rerun the devtools:: line. For the other packages, a simple update.packages() is sufficient.

2/2) Making the kernel available to Jupyter

The kernel spec can be installed for the current user with the following line from R:

IRkernel::installspec()

To install system-wide, set user to False in the installspec command:

IRkernel::installspec(user = FALSE)

原文https://irkernel.github.io/installation/
原文地址:https://www.cnblogs.com/lichunl/p/9005433.html