Skip to content

Instantly share code, notes, and snippets.

@mhermans
Last active August 29, 2015 14:16
Show Gist options
  • Save mhermans/f71bc6e99f5687bc2849 to your computer and use it in GitHub Desktop.
Save mhermans/f71bc6e99f5687bc2849 to your computer and use it in GitHub Desktop.
setup rstudio demo server

Add swap (walkthrough):

sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon -s

start up docker:

sudo docker run -d -p 8787:8787 rocker/hadleyverse

browse to <ip>:8787

Add users

docker ps
docker exec -it 0940cb1d9983 bash

install: htmlwidgets, DiagrammeR, leaflet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment