Render a Markdown file with natbib bibliography

render_natbib(
  file,
  path = ".",
  encoding = "UTF-8",
  engine = c("xelatex", "pdflatex"),
  display = TRUE,
  keep = c("none", "all", "tex"),
  clean = TRUE
)

Arguments

file

the name of the Rmd file

path

the path of the Rmd file

encoding

the encoding of the Rmd file. Default to 'UTF-8'.

engine

the LaTeX engine the compile the document. Defaults to "xelatex".

display

open the pdf in a reader. Defaults to TRUE.

keep

keep intermediate files after succesful compilation. Defaults to "none".

clean

TRUE to clean intermediate files created during rendering of the R markdown into tex.

See also