How to install Shiny Server with R.

Share on Google+Share on FacebookShare on LinkedInPin on PinterestTweet about this on TwitterEmail this to someone

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.

$ R

1

if you get R prompt then R installed on your system. Like:

2

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/’)\””

3

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

4

$ wget https://download3.rstudio.org/ubuntu-12.04/x86_64/shiny-server-1.5.3.838-amd64.deb

5

$ sudo gdebi shiny-server-1.5.3.838-amd64.deb

6

Once installed, you need to learn how to manage and configure Shiny Server.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

93 − = 85