Learn R Programming

ggiraph (version 0.8.9)

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
# \donttest{
dsvg_view(plot(1:10))
dsvg_view(hist(rnorm(100)))
# }

Run the code above in your browser using DataLab