dsvg_view: Run plotting code and view svg in RStudio Viewer or web...

View source: R/dsvg_view.R

dsvg_viewR Documentation

Run plotting code and view svg in RStudio Viewer or web broswer.

Description

This is useful primarily for testing. Requires the htmltools package.

Usage

dsvg_view(code, ...)

Arguments

code

Plotting code to execute.

...

Other arguments passed on to dsvg().

Examples


dsvg_view(plot(1:10))
dsvg_view(hist(rnorm(100)))


ggiraph documentation built on March 31, 2023, 9:53 p.m.