Skip to content
 
 

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Native R kernel for IPython

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 zmq

Install 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_kernel

Running the notebook

ipython notebook --KernelManager.kernel_cmd="['R', '-e', 'library(ipyr); main(\'{connection_file}\')']"

You can also substitute 'qtconsole' or 'console' for 'notebook' in this command.

About

R kernel for IPython

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages