Publish Outputs

Important

Publishing to Posit Cloud has been deprecated and the process to sunset this feature will begin at the end of December 2024. For more information, please see the official announcement.

RStudio and Jupyter projects on Posit Cloud are not affected by this change.

Note that attempting to publish to Posit Cloud after this feature has been removed will result in an HTTP 400 error, with a Publishing disabled. message. Please see the announcement for additional context, including a timeline and alternative publishing destinations.

So - you have created a data product in a Cloud project. It could be an R Markdown document, a Shiny app, or a Quarto document. Now what? How do you make your work accessible to others? You could always share the project and its source code - Posit Cloud makes that very easy. But if the output of your work is of primary interest to your audience, there is a simpler way to give them what they want - you publish it.

Publish from a Cloud Project

In a Cloud RStudio Project, press the publish button in your code’s window. The dialog that appears will prompt you to choose an account to publish your output to.

Note that you can publish to a few services, depending on the type of work you are doing:

After making your choice, if you would like to publish to one of the other services instead, click on the Add New Account link in the publishing dialog or go to Tools / Global Options / Publishing and press the Connect button to add an additional account.

Publish from External Environments

You do not have to write your code in a Posit Cloud project in order to publish to these services. Using the latest rsconnect or rsconnect-python packages, you can publish directly to any of these services.

Publish from the Command Line

To publish from the command line, use the rsconnect package from R, and the rsconnect-python package from Python.