Skip to content

hihihippp/IR_kernel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 and the package:

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")

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors