powered by
Use getOption("viewer") to view HTML output if it is available as per RStudio. Fallback to browseURL if not available.
getOption("viewer")
browseURL
view_or_browse(url)
character(1L) a location containing a file to display
the return vaue of getOption("viewer") if it is a function, or of browseURL if the viewer is not available