print.hd: Render an hd Object

View source: R/hd-object.R

print.hdR Documentation

Render an hd Object

Description

Printing an hd() object triggers rendering. The geometry type and any geometry-specific parameters are extracted from the stored hd_geom layer; presentation options from the hd_opts layer; the backend from the ⁠$backend⁠ slot. All of these are forwarded to hd_make(), which performs the actual rendering via the registered engine.

Usage

## S3 method for class 'hd'
print(x, ...)

Arguments

x

An hd object.

...

Ignored; present for S3 consistency.

Details

You rarely need to call print.hd() directly since R calls it automatically when the object appears at the top level, in knitr/Quarto chunks, or in Shiny renderHighchart() / renderPlot() blocks.

Value

The rendered output (a highchart widget or a ggplot object), invisibly.


highdir documentation built on July 31, 2026, 5:06 p.m.