Give your R users control of the work they share. With RStudio Connect, they can see what they’ve published, decide who should be able to view and collaborate on it, tune performance, schedule updates, view logs of their R processes, and more.
Applications and documents deployed to RStudio Connect can be managed using the Settings menu in the dashboard. To access it, select a content item in the navigation area on the left side of the dashboard, then click the gear icon in the top right:
The options available to you will differ based on the type of object you are configuring.
After your RStudio Connect content has been published, you can change its title, add a description, and upload a content image to make it easier for others to find your content:
The access settings allow management over who will be able to view and collaborate with you on a piece of content published to RStudio Connect.
There are three types of user interaction settings available to publishers in this panel:
- Viewer Access (who can see this content)
- Collaborator Access (who can change this content)
- Execution User (which server user will run the content)
The final setting for creating a vanity URL is reserved for administrators only.
Runtime vs. Schedule
Content published on RStudio Connect can broadly fall into two categories:
- Static / Batch Content - Schedule Settings
Static content is content a user can visit without requiring a running process. Examples include R Markdown documents, PDF documents, plots, and HTML files. RStudio Connect is able to update static content on a schedule.
Use the Schedule Settings tab to customize a rendering schedule:
Configuration options vary and depend on the "Schedule type" selection. There is also an option to send an email after the content update occurs.
- Interactive Content - Runtime Settings
Examples of interactive content include shiny applications and R Markdown documents with runtime::shiny, plumber APIs, and TensorFlow APIs. RStudio Connect is built to scale interactive content. Publishers and administrators have access to Runtime Settings to help tune and scale their applications and APIs. For a detailed overview of runtime options, please review: Scaling and Performance Tuning in RStudio Connect.
RStudio Connect administrators can create tags and a tag schema using the Tag Editor. Tags make content organization, discovery and filtering easier across the RStudio Connect dashboard.
If no tags have been created, a message will display stating that no tags can be assigned. Once an administrator has created tags, use the checkboxes to apply them to your content.
Vars (Environment Variables)
The Vars panel makes it easy to define environment variables which are then exposed to the processes executing your content. When developing content for RStudio Connect, you should never place secrets (keys, tokens, passwords, etc.) in the code itself.
Click on the Add Environment Variable button, then provide a name and value for an environment variable. For security reasons, once you add a variable, the value will be obscured and cannot be edited.
The Logs area lets you see the recent jobs and logging activity for this particular content item, and gives you the option to download the full log: