view_or_browse: Invoke IDE Viewer If Available, browseURL If Not

Description Usage Arguments Value

View source: R/pager.R

Description

Use getOption("viewer") to view HTML output if it is available as per RStudio. Fallback to browseURL if not available.

Usage

1

Arguments

url

character(1L) a location containing a file to display

Value

the return vaue of getOption("viewer") if it is a function, or of browseURL if the viewer is not available


diffobj documentation built on Oct. 5, 2021, 9:07 a.m.