Skip to content

Instantly share code, notes, and snippets.

@kforeman
Created May 29, 2015 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kforeman/8551ce6679a3e8091543 to your computer and use it in GitHub Desktop.
Save kforeman/8551ce6679a3e8091543 to your computer and use it in GitHub Desktop.
shiny-server install instructions
  1. Spin up VM
    • I used Ubuntu 12.04.5 (64bit)
  2. Add CRAN to apt sources $ vim /etc/apt/sources.list
  3. Install R $ sudo apt-get update $ sudo apt-get install r-base r-base-dev
  4. Install shiny package for R $ sudo su - -c "R -e "install.packages('shiny', repos='http://cran.rstudio.com/')\""
  5. Install rmarkdown package for R $ sudo su - -c "R -e "install.packages('rmarkdown')""
  6. Install shiny-server $ sudo apt-get install gdebi-core $ wget http://download3.rstudio.org/ubuntu-12.04/x86_64/shiny-server-1.3.0.403-amd64.deb $ sudo gdebi shiny-server-1.3.0.403-amd64.deb
  7. Test
    • navigate to :3838
  8. Setup auth?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment