Get 'RStudio' Viewer, or Return Default
rs_viewer(
...,
default = TRUE,
version_needed = "1.3",
child_ok = FALSE,
shiny_ok = FALSE
)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
passed to viewer
if rs_avail fails, the
value to return. Default is TRUE
passed to rs_avail