pdf format bitmap files.Graphics devices for pdf format bitmap files.
pdfReport(
task,
type,
ext = "pdf",
subdir = NULL,
dirCreate = TRUE,
title = NA,
file = NA,
dim = c(297, 210),
height = NULL,
width = NULL,
landscape = NULL,
...
)the file name invisibly.
Object of class D4TAlinkTask, as created by initTask.
Filename type. If the type is an array, the cocatenation of the elements is used with separator"-". Filenames have the form [task name]_[type].[ext]
Filename extension.
(optional) Subdirectory.
Logical, if TRUE (by default) the directory is created.
title string to embed as the /Title field in the
file. Defaults to "R Graphics Output".
a character string giving the file path.
If it is of the form "|cmd", the output is piped to the
command given by cmd. If it is NULL,
then no external file is created (effectively, no drawing occurs),
but the device may still be queried (e.g., for size of text).
For use with onefile = FALSE give a C integer format such
as "Rplot%03d.pdf" (the default in that case).
(See postscript for further details.)
Tilde expansion (see path.expand) is done. An input with
a marked encoding is converted to the native encoding or an error is
given.
device height and width in mm.
device height in mm.
device height in mm.
if defined, orientation of the document.
Arguments passed on to grDevices::pdf
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
can cause 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.