editSVG: Run plotting code and open svg in OS/system default svg...

View source: R/inlineSVG.R

editSVGR Documentation

Run plotting code and open svg in OS/system default svg viewer or editor.

Description

This is useful primarily for testing or post-processing the SVG.

Usage

editSVG(code, ..., width = NA, height = NA)

Arguments

code

Plotting code to execute.

...

Other arguments passed on to svglite.

height, width

Height and width in inches.

Examples

if (interactive()) {
  editSVG(plot(1:10))
  editSVG(contour(volcano))
}

hadley/svglite documentation built on Jan. 10, 2024, 2:30 p.m.