svgout: SVG device written in R.

Description Usage Arguments

View source: R/svgout.R

Description

As with all devices based upon devout, this function realy just notifies devout::rdevice() to call devoutsvg::svg_callback()

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
svgout(
  filename = "svgout.svg",
  width = 10,
  height = 8,
  js_url = NULL,
  js_code = NULL,
  css_url = NULL,
  css_decl = NULL,
  pattern_list = NULL,
  ...
)

Arguments

filename

default: "svgout.svg"

width, height

size in inches. Default: 10x8

js_url

URL to external javascript to include in SVG output. Default: NULL (no external JS)

js_code

character string of javascript code to include in SVG output. Default: NULL (no javascript code to include)

css_url

URL to extenal CSS to include in SVG output. Default: NULL (no external CSS)

css_decl

character string of CSS declarations to include in SVG output. Default: NULL (no CSS declarations to include)

pattern_list

named list of patterns and filters to use as fills for the colour they represent. See vignettes() for more information. Default: NULL (no replacement patterns or filters)

...

arguments passed to devout::rdevice


coolbutuseless/devoutsvg documentation built on April 24, 2020, 10:32 a.m.