powered by
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
tex2pdf(x, stem = NULL, dir = NULL, clean = TRUE, onefile = FALSE, ...)
invisible vector of paths to created files
vector of file names
the stem of a file name (no extension)
output directory
whether to delete system files after PDF creation
whether to combine TEX snippets into a single file
passed to as.pdf.character
as.pdf.character
viewtex
if (FALSE) { file <- file.path(tempdir(),'test.tex') writeLines(as.ltable(head(Theoph)), file) tex2pdf(file) }
Run the code above in your browser using DataLab