Learn R Programming

httpgd (version 1.3.1)

hgd_view: Open httpgd URL in the IDE.

Description

Global option viewer needs to be set to a function that accepts the client URL as a parameter.

Usage

hgd_view()

Arguments

Value

viewer function return value.

Details

This function will only work after starting a device with hgd().

Examples

Run this code
if (interactive() && !is.null(getOption("viewer"))) {
  hgd()

  hgd_view()
  hist(rnorm(100))

  dev.off()
}

Run the code above in your browser using DataLab