jpegReport {D4TAlink.light}R Documentation

Graphics devices for JPEG format bitmap files.

Description

Graphics devices for JPEG format bitmap files.

Usage

jpegReport(
  task,
  type,
  ext = "jpg",
  subdir = NULL,
  dirCreate = TRUE,
  dim = c(500, 500),
  width = NULL,
  height = NULL,
  ...
)

Arguments

task

Object of class D4TAlinkTask, as created by initTask.

type

Should be plotting be done using Windows GDI or cairographics?

ext

Filename extension.

subdir

(optional) Subdirectory.

dirCreate

Logical, if TRUE (by default) the directory is created.

dim

device height and width in px.

width

device height in px.

height

device height in px.

...

Arguments passed on to grDevices::jpeg

filename

the path of the output file, up to 511 characters. The page number is substituted if a C integer format is included in the character string, as in the default, and tilde-expansion is performed (see path.expand). (The result must be less than 600 characters long. See postscript for further details.)

units

The units in which height and width are given. Can be px (pixels, the default), in (inches), cm or mm.

pointsize

the default pointsize of plotted text, interpreted as big points (1/72 inch) at res ppi.

bg

the initial background colour: can be overridden by setting par("bg").

quality

the ‘quality’ of the JPEG image, as a percentage. Smaller values will give more compression but also more degradation of the image.

res

The nominal resolution in ppi which will be recorded in the bitmap file, if a positive integer. Also used for units other than the default. If not specified, taken as 72 ppi to set the size of text and line widths.

family

A length-one character vector specifying the default font family. The default means to use the font numbers on the Windows GDI versions and "sans" on the cairographics versions.

restoreConsole

See the ‘Details’ section of windows. For type == "windows" only.

antialias

Length-one character vector.

For allowed values and their effect on fonts with type = "windows" see windows: for that type if the argument is missing the default is taken from windows.options()$bitmap.aa.win.

For allowed values and their effect (on fonts and lines, but not fills) with type = "cairo" see svg.

symbolfamily

For cairographics only: a length-one character string that specifies the font family to be used as the "symbol" font (e.g., for plotmath output). The default value is "default", which means that R will choose a default "symbol" font based on the graphics device capabilities.

Value

the file name invisibly.


[Package D4TAlink.light version 2.1.14 Index]