| as.png | R Documentation |
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 class 'document'
as.png(
x,
stem = "latexpdf-doc",
dir = ".",
clean = TRUE,
replace = TRUE,
multipage = TRUE,
...
)
## S3 method for class 'character'
as.png(x, stem, ...)
x |
object |
... |
passed arguments |
stem |
the stem of a file name (no extension) |
dir |
output directory |
clean |
whether to delete system files after PNG creation |
replace |
whether to delete the pdf file |
multipage |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.