powered by
Renders and TEX files as PDF and opens them for viewing.
viewtex(x, delete = TRUE, latency = 1, png = FALSE, ...)
vector of file names
whether temporary pdf (_doc.pdf) should persist
how many seconds to wait before deleting temporary PDF,
view as png instead of pdf
passed to tex2pdf
tex2pdf
tex2png
as.pdf.character
file <- file.path(tempdir(),'test.tex') writeLines(as.ltable(head(Theoph)), file) if (FALSE) { viewtex(file) viewtex(file, png = TRUE, gs_cmd = 'mgs') }
Run the code above in your browser using DataLab