Creating a Shiny app deployment
Save a Shiny app to a deployment space, then deploy it as an app and make the URL available to users.
For example, if you create an interactive map infographic, you can deploy the app to a server and socialize the link. Users with the link can click to interact with the infographic.
For details on creating a Shiny app, see Creating and deploying a Shiny application.
To create an app deployment:
- From the deployment space, click the name of the saved R Shiny app you want to deploy. The asset detail page opens.
- From the Deployments tab, click Add new deployment.
- Choose App as the deployment type.
- Provide a name and adjust any optional settings for the deployment, then click Create Deployment to create the deployment. Optional settings you can configure include:
Setting | Description |
---|---|
Software configuration | Not configurable. It must match the version of R you used to create the asset |
Hardware configuration | Choose a hardware configuration to match your app |
Copies | The number of copies to create if you want to increase the availability of the app. The maximum copies are 10. |
Share with | Choose whether to share with: - Anyone who has the URL - Authenticated users (logged into Cloud Pak for Data) - Collaborators in the deployment space |
When the deployment is complete, click the deployment name to view the details and to get the URL for sharing the app deployment.