Wednesday, May 25, 2016

Install R on Jupyter

Open R Console:

Update R:

install.packages('installr')

After the download is complete, use:

updateR()

After the update is complete, run the following commands:

install.packages(c('repr', 'pbdZMQ', 'devtools')) devtools::install_github('IRkernel/IRdisplay') devtools::install_github('IRkernel/IRkernel') IRkernel::installspec()

To update packages which are not yet on CRAN, you have to rerun devtools::install_github(...) lines.

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)


Saturday, September 5, 2015