Xavier Olive research teaching python blog til cli

Kernels for iPython

22 March 2015

For the R kernel

Depending on the operating system:

  • Ubuntu:
sudo apt-get install libzmq3-dev libcurl4-openssl-dev
  • Homebrew
brew install zmq
# or upgrade
brew update
brew upgrade zmq

We need development versions of several packages from Github for now, due to recent fixes. First, you need to make sure you have the devtools R package available.
If you don’t, at the R console type:

install.packages("devtools")

Then, you can install the necessary development dependencies with:

# Need RCurl for install_github
install.packages("RCurl")
library(devtools)
install_github("armstrtw/rzmq")
install_github("takluyver/IRdisplay")
install_github("takluyver/IRkernel")

# Only if you have IPython 3 or above installed:
IRkernel::installspec()

For the Julia kernel

Run in your Julia session:

Pkg.add("IJulia")

For the Bash kernel

Run in your terminal:

pip install git+https://github.com/takluyver/bash_kernel