bibliography {knitcitations} | R Documentation |
Generate the bibliography
bibliography(style = "text", ...)
style |
see RefManageR::PrintBibliography |
... |
additional arguments passed to PrintBibliography, |
For non-trivial bibliographies, knitcitations recommends authors use pandoc format, and allow pandoc to generate the references list rather than rely on the bibliography() function. Pandoc has rich CSL support using any provided CSL file (see Pandoc documentation for details) and is integrated into recent version of RStudio.
a list of works cited
citet(citation("httr"))
citet(citation("digest"))
bibliography()
bibliography(sorting = 'ynt') # sort by year, then name, title
bibliography(sorting = 'ydnt') # sort by year, descending, then name, title
cleanbib()