jk_device_settings: Set JuniperKernel's Graphic Device Settings

Description Usage Arguments Details Value Author(s)

View source: R/graphics_device.R

Description

Set JuniperKernel's Graphic Device Settings

Usage

1
2
3
jk_device_settings(background_color = "white", width = 10L, height = 5L,
  pointsize = 12L, system_fonts = NULL, user_fonts = NULL,
  device_off = FALSE)

Arguments

background_color

A character string of the color for the image background. Examples: "red", "blue", "green".

width

Width in inches.

height

Height in inches.

pointsize

Default point size.

system_fonts

Named list of font names to be aliased with fonts installed on your system. If unspecified, the R default families sans, serif, mono and symbol are aliased to the family returned by match_family().

user_fonts

Named list of fonts to be aliased with font files provided by the user rather than fonts properly installed on the system. The aliases can be fonts from the fontquiver package, strings containing a path to a font file, or a list containing name and file elements with name indicating the font alias in the SVG output and file the path to a font file.

device_off

Use this to toggle the JuniperKernel graphics device on and off. If you would like to to save plots to a pdf file, e.g., you would first turn off the JuniperKernel device here and then create a new pdf graphics device.

Details

Use this method to set the graphics settings used by JuniperKernel.

Value

Invisibly return a list of the settings.

Author(s)

Spencer Aiello


JuniperKernel documentation built on May 2, 2019, 4:35 a.m.