as.pdf {latexpdf} | R Documentation |
Coerce to PDF
Description
Coerces to PDF. Generic, with methods for character, document, and data.frame.
Coerces to PDF from document. Makes a system call to 'pdflatex'. Extra arguments ignored.
Coerces character to document and then to PDF. Extra arguments passed to as.document.character
and as.pdf.document
.
Usage
as.pdf(x, ...)
## S3 method for class 'document'
as.pdf(
x,
stem = "latexpdf-doc",
dir = ".",
clean = TRUE,
ignore.stdout = FALSE,
ignore.stderr = FALSE,
show.output.on.console = TRUE,
...
)
## S3 method for class 'character'
as.pdf(x, stem, ...)
Arguments
x |
object |
... |
passed arguments |
stem |
the stem of a file name (no extension) |
dir |
output directory |
clean |
whether to delete system files after pdf creation |
ignore.stdout |
passed to |
ignore.stderr |
passed to |
show.output.on.console |
passed to |
Value
the output file path (invisible)
Methods (by class)
-
as.pdf(document)
: document method -
as.pdf(character)
: character method
See Also
[Package latexpdf version 0.1.8 Index]