set_app | R Documentation |
'interactingan' package creates a Shiny app to allow the interactions, this app must be hosted on any Shiny server, by default it will try to use [shinyapps.io](shinyapps.io). Calling this function will reset all existing interaction objects. At the moment, just one interactive object per slide is allowed.
set_app(
app_name = "presentation",
key = "IACC",
url = NULL,
out_dir = tempdir(),
...
)
app_name |
A character -string- with the name of the Shiny app to create. Must be unique in your Shiny server, or it will overwrite it. |
key |
A character -string- with a personal key to access interactions viewer. |
url |
A character -string- (optional) to provide a valid existing 'interactingan' server instance that was previously configured. For instance, if the 'interactingan' server app is going to be deployed in an own Shiny server. |
out_dir |
A character -string- (optional) indicating the path in which to save the 'interactingan' server app file. It is useful if the app is going to be deployed to an own Shiny server. |
... |
Additional parameters passed to 'rsconnect::deployApp' function. |
To enter the 'interactingan' server admin panel, in a browser, enter to the URL: "SERVER_URL/?viewer='key'&admin", for example https://my_username.shinyapps.io/presentation/?viewer=IACC&admin
A QR code image that will point to the server url.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.