This function will check to see if configurations for the named cluster exist. In the even that configurations are available in a configured repository but not installed locally then the user will be prompted to install the configurations.
1 2 3 4 5 6 7 | is_cluster_known(cluster_name, install = "ask", stopifnot = FALSE)
list_available_clusters(installed_only = FALSE)
get_cluster_name(cluster_name)
get_cluster_package_name(cluster_name)
|
cluster_name |
Character. The name of the cluster. Capitolization and spacing is ignored and does not matter (e.g., "My Cluster" is equivalent to "mycluster") |
install |
Character. Should be one of |
stopifnot |
Logical. If |
installed_only |
Logical indicator of whether to only look at installed packages rather than available packages. This can save time, especially in the first call from a new session, relative to looking in all available packages. Default FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.