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.
as.pdf(x, ...)# S3 method for document
as.pdf(x, stem = "latexpdf-doc", dir = ".",
clean = TRUE, ...)
# S3 method for character
as.pdf(x, stem, ...)
object
passed arguments
the stem of a file name (no extension)
output directory
whether to delete system files after pdf creation
the output file path (invisible)
document: document method
character: character method