width,heightthe width and height of the graphics region in
inches. The default values are 7.
onefilelogical: if true (the default) allow multiple figures
in one file. If false, generate a file with name containing the page
number for each page. Defaults to TRUE, and forced to true
if file is a pipe.
familythe font family to be used, see
postscript. Defaults to "Helvetica".
fontsa character vector specifying R graphics font family
names for additional fonts which will be included in the PDF file.
Defaults to NULL.
versiona string describing the PDF version that will be
required to view the output. This is a minimum, and will be
increased (with a warning) if necessary. Defaults to "1.4",
but see ‘Details’.
paperthe target paper size. The choices are
"a4", "letter", "legal" (or "us") and
"executive" (and these can be capitalized), or "a4r"
and "USr" for rotated (‘landscape’).
The default is "special", which means that the width
and height specify the paper size. A further choice is
"default"; if this is selected, the
papersize is taken from the option "papersize"
if that is set and as "a4" if it is unset or empty.
Defaults to "special".
encodingthe name of an encoding file. See
postscript for details. Defaults to "default".
bgthe initial background color to be used. Defaults to
"transparent".
fgthe initial foreground color to be used. Defaults to
"black".
pointsizethe default point size to be used. Strictly
speaking, in bp, that is 1/72 of an inch, but approximately in
points. Defaults to 12.
pagecentrelogical: should the device region be centred on the
page? – is only relevant for paper != "special".
Defaults to TRUE.
colormodela character string describing the color model:
currently allowed values are "srgb", "gray" (or
"grey") and "cmyk". Defaults to "srgb". See section
‘Color models’.
useDingbatslogical. Should small circles be rendered
via the Dingbats font? Defaults to FALSE.
If TRUE, this can produce smaller and better output, but
there can font display problems in broken PDF viewers: although this
font is one of the 14 guaranteed to be available in all PDF viewers,
that guarantee is not always honoured.
For Unix-alikes (including macOS) see the ‘Note’ for a
possible fix for some viewers.
useKerninglogical. Should kerning corrections be included in
setting text and calculating string widths? Defaults to TRUE.
fillOddEvenlogical controlling the polygon fill mode: see
polygon for details. Defaults to FALSE.
compresslogical. Should PDF streams be generated with Flate
compression? Defaults to TRUE.