Accessing Shiny App from the WordPress site
Yes, but you need to do more things before generating the link.
- Using
shiny::runApp
directly is not recommended. You want to use a shiny server instead. Depending on the version (free, paid) you use, user counts, load balancing and other settings can be modified accordingly. I personally recommend to use shiny docker instead of installing by yourself. - Once your Shiny apps are running in a localhost port by the shiny server, In order to have it visible for people outside your local network, you need to use a reverse proxy service like nginx or apache to "export" to ports.
- Setup your server firewall configs so reverse proxy service can pass the firewall.
- Optional, go to your domain manager, create a subdomain for shiny apps.
Additional detailed readings: https://deanattali.com/2015/05/09/setup-rstudio-shiny-server-digital-ocean/
Back to your question
Q1, once you have done above, you should have the Shiny app link, and you can use it on your WordPress.
Q2, there is no user limit, it depends on how powerful your server is. Too many people using the server at the same time may crash it. Paid version of Shiny server has load balancing settings, not sure about the free version.
Can you recommend how to manage package dependencies for apps hosted on shiny server?
I was able to achieve this using adisarid's answer here:
Using renv:
log into the production server, get into the app's directory. Then run
R, and use renv::restore and then renv::isolate.
Related Topics
Rolling Join on Data.Table with Duplicate Keys
Using Cut and Quartile to Generate Breaks in R Function
How to Obtain an 'Unbalanced' Grid of Ggplots
Add Empty Columns to a Dataframe with Specified Names from a Vector
Animated Sorted Bar Chart with Bars Overtaking Each Other
Convert a Numeric Month to a Month Abbreviation
How to Place Grobs with Annotation_Custom() at Precise Areas of the Plot Region
How to Specify the Actual X Axis Values to Plot as X Axis Ticks in R
Difference Between Passing Options in Aes() and Outside of It in Ggplot2
Is There a Better Alternative Than String Manipulation to Programmatically Build Formulas
Generate Random Numbers with Fixed Mean and Sd
How to Connect R with Access Database in 64-Bit Window
Why Is Apply() Method Slower Than a for Loop in R
How to Create a Marimekko/Mosaic Plot in Ggplot2
Fitting Polynomial Model to Data in R
How to Replace Nan Value with Zero in a Huge Data Frame
Interpretation of Ordered and Non-Ordered Factors, VS. Numerical Predictors in Model Summary