Skip to content

Local usage:R Shiny Server

Jens Preussner edited this page Sep 23, 2019 · 2 revisions

Run WIlsON on a R Shiny Server

Update and install the following Debian packages:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install r-base libnlopt-dev wget libssl-dev libxml2-dev libcurl4-openssl-dev git gdebi-core

Install R Shiny server according to the manual (make sure to install to global R library, NOT personal!) and install the WIlsON R package:

install.packages("BiocManager")
BiocManager::install("wilson")

Clone the WIlsON apps repository and move the wilson-basic folder into R Shiny server apps folder (e.g. /srv/shiny-server/sample-apps/wilson-basic).

Change the owner of the R Shiny apps folder to be the “shiny” user.

sudo chown –R shiny:shiny /srv/shiny-server/sample-apps 

Restart R Shiny server.

sudo systemctl stop shiny-server
sudo systemctl daemon-reload
sudo systemctl start shiny-server