Sunday, 26 November 2017

Installing Shiny Server on Cent OS

First install R base

sudo yum install R

Install some R packages

sudo su - -c "R -e \"install.packages(c('shiny', 'rmarkdown', 'devtools', 'RJDBC'), repos='http://cran.rstudio.com/')\""

Install Shiny Package

sudo su - -c "R -e \"install.packages('shiny', repos='https://cran.rstudio.com/')\""

Now install Shiny server:
Check latest download version at here
wget https://download3.rstudio.org/centos5.9/x86_64/shiny-server-1.5.5.872-rh5-x86_64.rpm
sudo yum install --nogpgcheck shiny-server-1.5.5.872-rh5-x86_64.rpm

Start Shiny server service:
sudo start shiny-server

Check your installation :

http://your_server_ip:3838/

Installation path:
just like all files for php at /var/www/html, similarly in case of shiny it will be at
/srv/shiny-server/ on server



No comments :

Post a Comment