Show HTML or SVG content in the rstudio viewer pane

show_html(x, viewer = getOption("viewer", utils::browseURL))

Arguments

x

svg or html

viewer

function which activates viewer

Value

None

Examples

if (FALSE) { # interactive()
# This example will try and spawn an external viewer for HTML content
hl_grep(mode, "switch") |>
  as_html() |>
  show_html()
}