This is still highly experimental and unreliable. Your code should be safe, since IPython handles saving and loading notebooks in another process, but ou'll lose all your variables if it crashes.
##Installing
First you'll need the latest version of zmq. Install with homebrew:
brew install zmq
# or upgrade
brew update
brew upgrade zmqInstall the dependencies:
install.packages(c("rjson", "uuid", "digest"))
# You'll also need to install the rzmq library from Github for now
# https://github.com/armstrtw/rzmq
library(devtools)
install_github("armstrtw/rzmq")
install_github("takluyver/IR_kernel")And the package itself:
# Run this with the directory or tarball:
R CMD INSTALL IR_kernelipython notebook --KernelManager.kernel_cmd="['R', '-e', 'library(ipyr); main(\'{connection_file}\')']"You can also substitute 'qtconsole' or 'console' for 'notebook' in this command.