Convert Rnw or Rrst files to PDF
knit2pdf( input, output = NULL, compiler = NULL, envir = parent.frame(), quiet = FALSE, ... )
input |
Path to the input file. |
output |
Path to the output file for |
compiler |
A character string giving the LaTeX engine used to compile
the tex document to PDF. For an Rrst file, setting |
envir |
Environment in which code chunks are to be evaluated, for
example, |
quiet |
Boolean; suppress the progress bar and messages? |
... |
The filename of the PDF file.
The output
argument specifies the output filename to be passed
to the PDF compiler (e.g. a tex document) instead of the PDF filename.
Ramnath Vaidyanathan, Alex Zvoleff and Yihui Xie
#' compile with xelatex ## knit2pdf(..., compiler = 'xelatex') #' compile a reST file with rst2pdf ## knit2pdf(..., compiler = 'rst2pdf')
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.