mopaalfa.blogg.se

Shiny from rstudio
Shiny from rstudio












shiny from rstudio

They have to run the following R code once (with some example libraries): # collect here all the libraries used by your shiny app But suppose they don't know how to install them. They need shiny library all the libraries in your shiny app installed. In the following, I'd like to give some practical examples on how to.Īssuming that your coworkers don't know R and RStudio, they still needs R installed on their PC. The solution proposed by Spacedman worked for me. Then the app is accessible on (see this: Hosting LAN Shiny apps run from command line) Method: You need to run the app on your computer and share it on the LAN by changing the runapp command to: runApp(host="0.0.0.0",port=5050) Furthermore, it cannot perform computation for more than one user at a time. The app must be running constantly on a computer connected to this network. Get the app address from the shinyapps.io dashboard and send it to your co-workers.Īdvantage: as much active hours as you need.ĭrawbacks: requires being on the same local network (or use a VPN).In Rstudio, click "publish" (next to run app button).Configure rsconnect to link R with your new shinyapps account (step by step explanations in the shinyapps documentation).Publish the app on shinyapps.ioĪdvantage: the app is accessible anytime from anywhere.ĭrawback: only 25 active hours per month. I faced the same problem and used the two following solutions that both worked fine.














Shiny from rstudio