Shiny Server enables users to host and manage Shiny applications on the Internet. Shiny is an R package that uses a reactive programming model to simplify the development of R-powered web applications.
For Shiny Server installation, First you need to check R installed on your system.
if you get R prompt then R installed on your system. Like:
If you are getting error then first install R.
$ sudo apt-get install r-base
First we need to install the Shiny R package before installing Shiny Server. Command for install Shiny R packages.
$ sudo su – \
-c “R -e \”install.packages(‘shiny’, repos=’https://cran.rstudio.com/’)\””
Once you’ve installed R and the Shiny package, execute the following commands in a terminal window to install gdebi (which is used to install Shiny Server and all of its dependencies) and Shiny Server.
$ sudo apt-get install gdebi-core
$ wget https://download3.rstudio.org/ubuntu-12.04/x86_64/shiny-server-184.108.40.2068-amd64.deb
$ sudo gdebi shiny-server-220.127.116.118-amd64.deb
Once installed, you need to learn how to manage and configure Shiny Server.