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?
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/
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With