1 R

StaMPS-Visualizer is a Shiny-App using R and RStudio. If R is already installed on your machine, skip this section. To install R visit the (R-Project web site)[https://cran.r-project.org/mirrors.html], select a mirror next to you and download the right R version for your OS and install it. If you use an Unix based OS you can use this code instead:

#you might adapt the code for your distribution
sudo add-apt-repository 'deb https://mirror.ibcp.fr/pub/CRAN/bin/linux/ubuntu artful/'
sudo apt-key adv --keyserver.ubuntu.com --recv-keys E084DAB9
sudo apt-get update
sudo apt-get install libgdal-dev libproj-dev libgeos-dev
sudo apt-get install r-base-core
sudo apt-get install gdebi-core

2 RStudio

If R is already installed on your machine, skip this section. Visit the RStudio website, download the right RStudio version for your OS and install it. If you use an Unix based OS you can use this code instead:

#you might adapt the code for your distribution and the current version number of RStudio
wget https://download1.rstudio.org/rstudio-1.1.414-amd64.deb
wget http://ftp.ca.debian.org/debian/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-2amd64.deb

wget http://ftp.ca.debian.org/debian/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-2amd64.deb

sudo dpkg -i libgstreamer0.10-0_0.10.36-1.5_amd64.deb
sudo dpkg -i libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
sudo apt-mark hold libgstreamer-plugins-base0.10-0
sudo apt-mark hold libgstreamer0.10
sudo gdebi rstudio-1.1.414-amd64.deb

3 Packages

Now open RStudio and run this script, to install all needed packages:

####################
##install packages##
####################

install.packages("leaflet")
install.packages("lubridate")
install.packages("shiny")
install.packages("colorRamps")

4 Stamps-Visualizer

Copy the stamps_visualizer_20.zip file from …/DIII_StaMPS-Visualizer/ to your machine, unzip it and open the ui.R script in RStudio. In RStudio click on Run App in the upper left window, see picture below.