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()

Arguments

url

The URL for the RStudio Cloud API.

host

The hostname of the RStudio Cloud service.

Details

The rscloud package reads host and API URL settings in this order:

  1. The value set by the user using rscloud_api_url_set() or rscloud_host_set()

  2. The environment variables RSCLOUD_API_URL and RSCLOUD_HOST

  3. The defaults https://api.rstudio.cloud and rstudio.cloud