sudo apt-get install libzmq3-dev libssh2-1-dev python3-pip build-essential python3-dev
Add this line to /etc/apt/sources.list
deb http://cran.rstudio.com/bin/linux/ubuntu trusty/
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 sudo apt-get update sudo apt-get upgrade sudo pip3 install -I path.py==7.7.1 sudo pip3 install jupyter zmq
Installing R kernel for Jupyter
install.packages("devtools") library("devtools") install_github("rgbkrk/rzmq") install.packages(c('rzmq','repr','IRkernel','IRdisplay'), repos = c('http://irkernel.github.io/', getOption('repos')), type = 'source') IRkernel::installspec()
Errors received during install (all were solved):
static_assert(ZMQ_VERSION_MAJOR >= 3,”The minimum required version of libzmq is
^
make: *** [interface.o] Error 1
ERROR: dependency ‘xml2’ is not available for package ‘rversions’
* removing ‘/home/raony/R/x86_64-pc-linux-gnu-library/3.0/rversions’
ERROR: dependency ‘rversions’ is not available for package ‘devtools’
* removing ‘/home/raony/R/x86_64-pc-linux-gnu-library/3.0/devtools’