$ brew install zmq
$ brew install openssl
$ brew install libgit2
$ R
> install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
> devtools::install_github('IRkernel/IRkernel')
# Install IRKernel for the current user
> IRkernel::installspec()
# Or install IRKernel system-wide
> IRkernel::installspec(user = FALSE)
conda install -c r r-essentials
ipython kernelspec install --replace --name ir --user /Library/Frameworks/R.framework/Versions/3.1/Resources/library/IRkernel/kernelspec
library(IRdisplay)
library(IRkernel)
installspec()
jupyter notebook
packages = installed.packages()
packages = packages[, "Package"]
if (!"devtools" %in% packages) {
install.packages("devtools")
}
https://neuroconductor.org/neuroc-help-installing-devtools
https://www.datascienceriot.com/r/howto-r-jupyter/
https://www.datacamp.com/community/blog/jupyter-notebook-r