

Note, it may be a good idea to install them one at a time. If you use Homebrew: brew install libzmq3Īssuming that those libraries brewed without any errors, start R in your terminal by typing “R” or fire up R-Studio.

My original method: If the above method doesn’t work, you may have more luck here. If not, the instructions below show you how to clone the IRkernel GitHub repo and install from source on your local machine. Repos = c('', getOption('repos')), type = 'source') install.packages(c('rzmq','repr','IRkernel','IRdisplay'), Next, fire up R, install from source and start your kernel. Or, if you use MacPorts sudo port install zmq If you use Homebrew: xcode-select -install Note: Make sure you’ve got Xcode installed. Update: This install method is less involved The ability to add an R kernel to the IPython environment gives one the ability to run Python and R side-by-side in the same programming environment. IPython is a great tool for developers, particularly for R programmers who are accustomed to the luxury of running blocks of code during development.
