Description Usage Arguments Value Note Author(s) Examples
View source: R/utils-conversion.R
Knit the input Rnw or Rrst document, and compile to PDF using
tinytex::latexmk()
or rst2pdf()
.
1 2 3 4 5 6 7 8 |
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? |
... |
Options to be passed to |
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
1 2 3 4 5 | #' compile with xelatex
## knit2pdf(..., compiler = 'xelatex')
#' compile a reST file with rst2pdf
## knit2pdf(..., compiler = 'rst2pdf')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.