bibliography {knitcitations} | R Documentation |
Generate the bibliography
Description
Generate the bibliography
Usage
bibliography(style = "text", ...)
Arguments
style |
see RefManageR::PrintBibliography |
... |
additional arguments passed to PrintBibliography, |
Details
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.
Value
a list of works cited
Examples
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()
[Package knitcitations version 1.0.12 Index]