Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R Shiny - host your own apps?

Tags:

r

How can I host my own R Shiny App instead of hosted it at https://www.shinyapps.io?

I run these lines below and my app is uploaded to the server above,

> library(shiny)
> library(shinyapps)
> setwd("C:/firstapp")
> deployApp()

but we have our own live server that support R, so can we do that?

ps. I follow this tutorial and get our app hosted at shinyapps.io but we prefer host it our own. Is it possible?

like image 520
Run Avatar asked Mar 17 '23 08:03

Run


2 Answers

The deployApp() function only works with shinyapps.io. When running your own installation of shiny server, you will have to take care of deploying and managing your applications manually. This includes installing any required R packages.

To host your own shiny-server, you should get started by downloading shiny-server or shiny-server pro from here: http://www.rstudio.com/products/shiny/shiny-server/

like image 90
kippandrew Avatar answered Apr 02 '23 12:04

kippandrew


Download and install the shiny server from RStudio:

http://www.rstudio.com/products/shiny/shiny-server/

obviously you'll need a machine to host it on if you don't want your desktop getting thrashed.

like image 20
Spacedman Avatar answered Apr 02 '23 12:04

Spacedman