connect_set_public | R Documentation |
The corresponding rsconnect
account should already exist before calling connect_set_public
. This can be done by calling rsconnect::connectApiUser
to add the appropriate account information.
connect_set_public(
apps = apps_shiny,
account = "barret",
server = "beta.rstudioconnect.com"
)
connect_urls(
apps = apps_deploy,
account = "barret",
server = "beta.rstudioconnect.com"
)
apps |
A character vector of fully defined shiny application folders |
account , server |
args supplied to |
connect_set_public()
: Set all the Shiny apps to be public on a Connect server
connect_urls()
: Retrieve the urls from a Connect server using the Shiny applications provided in dir
## Not run:
rsconnect::addConnectServer(url = 'https://SERVER.com/API', name = 'CustomName')
rsconnect::connectApiUser('barret', 'CustomName', apiKey = 'SuperSecretKey')
deploy_apps(account = 'barret', server = 'CustomName')
connect_set_public(account = 'barret', server = 'CustomName')
urls <- connect_urls(account = 'barret', server = 'CustomName')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.