Yes!
A shiny app can be put in an iframe in another website from RStudio Connect.
In order to put the app in an iframe, it is recommended to add a
content URL, because you can move it to another piece of content should the need arise.
Once you have the content URL for your app, you can put that URL in an iframe tag on your other website. For example, if your app is hosted at
https://connect.my_domain.com/my_app, you would use an iframe tag like
<iframe src="https://connect.my_domain.com/my_app" width: 100%; height: 500px;">
Note that unless you have the Shiny app's
sharing controls set to Anyone - No Login Required, people will need to login to RStudio Connect within the iframe to see the app.
You can also embed shiny apps from shinyapps.io or Shiny Server, but the process of setting the URL and managing access is somewhat different on those platforms.
Comments