tex2pdf | R Documentation |
Converts TEX to PDF. tex2pdf
accepts the file names of TEX fragments. It reads those fragments, wraps them like documents and makes PDF files.
tex2pdf(x, stem = NULL, dir = NULL, clean = TRUE, onefile = FALSE, ...)
x |
vector of file names |
stem |
the stem of a file name (no extension) |
dir |
output directory |
clean |
whether to delete system files after PDF creation |
onefile |
whether to combine TEX snippets into a single file |
... |
passed to |
invisible vector of paths to created files
as.pdf.character
viewtex
## Not run:
file <- file.path(tempdir(),'test.tex')
writeLines(as.ltable(head(Theoph)), file)
tex2pdf(file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.