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)))


davidgohel/ggiraph documentation built on April 13, 2024, 7:19 a.m.