rscloud_api_url_set | R Documentation |
These functions configure the host and API URL settings for authentication and requests. See details for setting preferences.
rscloud_api_url_set(url) rscloud_api_url_get() rscloud_host_set(host) rscloud_host_get()
url |
The URL for the RStudio Cloud API. |
host |
The hostname of the RStudio Cloud service. |
The rscloud package reads host and API URL settings in this order:
The value set by the user using rscloud_api_url_set()
or rscloud_host_set()
The environment variables RSCLOUD_API_URL
and RSCLOUD_HOST
The defaults https://api.rstudio.cloud
and rstudio.cloud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.