Coerces to PNG. Generic, with methods for character, document, and data.frame.
Coerces to PNG from document. Makes a system call to 'pdflatex', converts resulting file to PNG. Extra arguments passed to as.pdf.document
and ghostconvert
.
Coerces character to document, PDF, and then PNG. Extra arguments passed to as.document.character
and as.png.document
.
as.png(x, ...)# S3 method for document
as.png(
x,
stem = "latexpdf-doc",
dir = ".",
clean = TRUE,
replace = TRUE,
multipage = TRUE,
...
)
# S3 method for character
as.png(x, stem, ...)
object
passed arguments
the stem of a file name (no extension)
output directory
whether to delete system files after PNG creation
whether to delete the pdf file
whether to convert multiple pages of the PDF
as.png(document)
: document method
as.png(character)
: character method
as.png.character
as.png.document
as.png.data.frame
as.pdf
as.pdf.document
ghostconvert
tex2png
viewtex
ghostconvert