niderhoff
2/26/2016 - 5:53 PM

Installing IRkernel on OSX 10.11, the dirty way

Installing IRkernel on OSX 10.11, the dirty way

Installing IRKernel on OSX 10.11, the dirty way

  1. Make sure your PATH setting in R has your anaconda installation in it. Two options:

    a. Put anaconda in your $PATH and start R from command line.

    b. make new file ~/.Renviron and change path manually:

     PATH=.....
    

    You can check your path variable in R like:

     Sys.getenv()["PATH"]
    
  2. Install rzmq package:

     wget https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp
     mv zmq.hpp /usr/local/include/
    

    From inside R, do:

     require('devtools')
     install_github('armstrtw/rzmq')
    
  3. Install rest (within R):

     install.packages(c('repr','IRkernel','IRdisplay'),
     repos = c('http://irkernel.github.io/', getOption('repos')))
    
  4. make kernel available to Jupyter:

     IRkernel::installspec()
    
  5. Done!