viewtex {latexpdf} | R Documentation |
Render and View TEX Files
Description
Renders and TEX files as PDF and opens them for viewing.
Usage
viewtex(x, delete = TRUE, latency = 1, png = FALSE, ...)
Arguments
x |
vector of file names |
delete |
whether temporary pdf (_doc.pdf) should persist |
latency |
how many seconds to wait before deleting temporary PDF, |
png |
view as png instead of pdf |
... |
passed to |
See Also
Examples
file <- file.path(tempdir(),'test.tex')
writeLines(as.ltable(head(Theoph)), file)
## Not run:
viewtex(file)
viewtex(file, png = TRUE, gs_cmd = 'mgs')
## End(Not run)
[Package latexpdf version 0.1.8 Index]