Skip to content

gesiscss/smm_demo

Repository files navigation

Binder

smm_demo

Examples to complement of the SMM Monitor

Install R jupyter notebooks

  1. Install R. Use an up to date resource like this: https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-18-04

  2. Install libcurl library:

sudo apt install libcurl4-openssl-dev, libzmq3-dev
  1. Open an R console

  2. Install the following packages:

install.packages(c('rzmq','repr','IRkernel','IRdisplay'),
                 repos = c('http://irkernel.github.io/', 
                           getOption('repos')), 
                 type = 'source')
  1. Install the kernel with
# user = FALSE will install it at a system level
IRkernel::installspec(user = TRUE)
  1. Install other dependencies:
install.packages("httr")
install.packages("jsonlite")
install.packages("ggplot2")
install.packages('RJSplot')
install.packages('dplyr')

Source: http://www.storybench.org/install-r-jupyter-notebook/ Troubleshooting: ramnathv/rCharts#718