I'm using Markdown with LaTeX to produce a document. I am trying to get it to read my bibtex file. I have tried the following
<<echo=FALSE>>= output: pdf_document bibliography: myref.bib @
and I receive the message
## Error in eval(expr, envir, enclos): object ’output’ not found ## Error in eval(expr, envir, enclos): object ’bibliography’ not found
I also tried this with the YAML:
--- title: author: output: pdf_document bibliography: myref.bib ---
but this didn't work either. I presume I don't have correct packages loaded, but I don't know how to get the bibliographies using R Markdown, knitr, and LaTeX.
Thanks in advance