Connecting
RStudio provides Push-button deployment to Posit Connect, Shinyapps.io, and RPubs.com.
Posit Connect supports a spectrum of data products, static or dynamic, developed in R and Python: Dashboards, applications, APIs, reports, and more. Connect enables flexible permissions configurations and meets all enterprise security requirements.
Shinyapps.io supports hosting of Shiny for R and Python.
RPubs.com only supports hosting of static content, such as R Markdown.
Connecting Your Account
Install the rsconnect R package, which is required for publishing:
install.packages("rsconnect")
# or the development version from GitHub
# install.packages("devtools")
# devtools::install_github("rstudio/rsconnect")Publishing to Connect or Shinyapps.io
You need to connect RStudio to the remote hosting environment (e.g., Connect, Shinyapps.io) and authorize RStudio to use your account.
To connect a publishing account to RStudio, from the main menu, click Tools > Global Options....

In the Options panel that displays, click Publishing > Connect... button to add a new account.

Select the publishing destination, then follow the Connect Account wizard’s instructions for that particular product.

To authorize the IDE to deploy on your behalf, Log in and click Connect. Then, return to the IDE and click Connect Account.
Once you have successfully configured the connection within RStudio, you can now publish content to Connect or Shinyapps.io.
Publishing to RPubs
Publishing static content, such as R Markdown, to RPubs has a slightly different publishing workflow.
Once you save and knit your R Markdown document, click Publish.

Select RPubs as your publishing destination.

Click Publish.

Additional resources
For more information, reference the documentation for your desired push-button deployment destination: