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 May 29, 2024, 4:46 a.m.