read.bib {bibtex} | R Documentation |
bibtex parser
Description
Parser for bibliography databases written in the bib format.
Usage
read.bib(
file = findBibFile(package),
package = "bibtex",
encoding = "unknown",
header,
footer
)
Arguments
file |
bib file to parse. By default, the file
‘REFERENCES.bib’ in the root directory of the package given by
the |
package |
package from which we want to read the bibliography.
Only used if |
encoding |
encoding |
header |
DEPRECATED. |
footer |
DEPRECATED |
Value
An object of class "bibentry"
, similar to those obtained by the
bibentry
function.
References
Nelson H. F. Beebe. bibparse 1.04. 1999. http://www.math.utah.edu/~beebe/
Examples
## this package has a REFERENCES.bib file
bib <- read.bib(package = "bibtex")
## bibtex collects bibtex entries for R base packages
base.bib <- read.bib(package = "base")
[Package bibtex version 0.5.1 Index]