Usage
knit2pdf(
input,
output = NULL,
compiler = NULL,
envir = parent.frame(),
quiet = FALSE,
...
)Arguments
- input
Path to the input file.
- output
Path to the output file for
knit(). IfNULL, this function will try to guess a default, which will be under the current working directory.- compiler
A character string giving the LaTeX engine used to compile the tex document to PDF. For an Rrst file, setting
compilerto'rst2pdf'will userst2pdfto compile the rst file to PDF using the ReportLab open-source library.- envir
Environment in which code chunks are to be evaluated, for example,
parent.frame(),new.env(), orglobalenv()).- quiet
Boolean; suppress the progress bar and messages?
- ...