View source: R/utils-rstudio.R
rs_viewer | R Documentation |
Get 'RStudio' Viewer, or Return Default
rs_viewer(
...,
default = TRUE,
version_needed = "1.3",
child_ok = FALSE,
shiny_ok = FALSE
)
... |
passed to |
default |
if |
version_needed , child_ok , shiny_ok |
passed to |
If viewer
can be called and
'RStudio' is running, then launch 'RStudio' internal viewer.
Otherwise if default
is a function such as
browseURL
, then call the function with given
arguments. If default
is not a function, return default
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.