ggiraph (version 0.7.0)

dsvg_view: 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

Run this code
# NOT RUN {
dsvg_view(plot(1:10))
dsvg_view(hist(rnorm(100)))
# }

Run the code above in your browser using DataCamp Workspace