| Line 1... |
Line 1... |
| 1 |
% File src/library/grDevices/man/pdf.Rd
|
1 |
% File src/library/grDevices/man/pdf.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2018 R Core Team
|
3 |
% Copyright 1995-2019 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{pdf}
|
6 |
\name{pdf}
|
| 7 |
\alias{pdf}
|
7 |
\alias{pdf}
|
| 8 |
\encoding{UTF-8}
|
8 |
\encoding{UTF-8}
|
| Line 18... |
Line 18... |
| 18 |
width, height, onefile, family, title, fonts, version,
|
18 |
width, height, onefile, family, title, fonts, version,
|
| 19 |
paper, encoding, bg, fg, pointsize, pagecentre, colormodel,
|
19 |
paper, encoding, bg, fg, pointsize, pagecentre, colormodel,
|
| 20 |
useDingbats, useKerning, fillOddEven, compress)
|
20 |
useDingbats, useKerning, fillOddEven, compress)
|
| 21 |
}
|
21 |
}
|
| 22 |
\arguments{
|
22 |
\arguments{
|
| 23 |
\item{file}{a character string giving the name of the file.
|
23 |
\item{file}{a character string giving the file path.
|
| 24 |
If it is of the form \code{"|cmd"}, the output is piped to the
|
24 |
If it is of the form \code{"|cmd"}, the output is piped to the
|
| 25 |
command given by \command{cmd}. If it is \code{NULL},
|
25 |
command given by \command{cmd}. If it is \code{NULL},
|
| 26 |
then no external file is created (effectively, no drawing occurs),
|
26 |
then no external file is created (effectively, no drawing occurs),
|
| 27 |
but the device may still be queried (e.g., for size of text).
|
27 |
but the device may still be queried (e.g., for size of text).
|
| 28 |
|
28 |
|
| 29 |
For use with \code{onefile = FALSE} give a C integer format such
|
29 |
For use with \code{onefile = FALSE} give a C integer format such
|
| 30 |
as \code{"Rplot\%03d.pdf"} (the default in that case).
|
30 |
as \code{"Rplot\%03d.pdf"} (the default in that case).
|
| 31 |
(See \code{\link{postscript}} for further details.)
|
31 |
(See \code{\link{postscript}} for further details.)
|
| 32 |
|
32 |
|
| 33 |
Tilde expansion (see \code{\link{path.expand}}) is done.
|
33 |
Tilde expansion (see \code{\link{path.expand}}) is done. An input with
|
| - |
|
34 |
a marked encoding is converted to the native encoding or an error is
|
| - |
|
35 |
given.
|
| 34 |
}
|
36 |
}
|
| 35 |
\item{width, height}{the width and height of the graphics region in
|
37 |
\item{width, height}{the width and height of the graphics region in
|
| 36 |
inches. The default values are \code{7}.}
|
38 |
inches. The default values are \code{7}.}
|
| 37 |
\item{onefile}{logical: if true (the default) allow multiple figures
|
39 |
\item{onefile}{logical: if true (the default) allow multiple figures
|
| 38 |
in one file. If false, generate a file with name containing the page
|
40 |
in one file. If false, generate a file with name containing the page
|