View source: R/utils-rstudio.R
rs_avail | R Documentation |
Verify 'RStudio' version
rs_avail(version_needed = "1.3", child_ok = FALSE, shiny_ok = FALSE)
version_needed |
minimum version required |
child_ok |
check if the current R process is a child process of the main RStudio session. |
shiny_ok |
if set false, then check if 'Shiny' is running, return false
if shiny reactive domain is not |
whether 'RStudio' is running and its version is above the required
isAvailable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.