read.bib(file = findBibFile(package),
package = "bibtex",
encoding = "unknown",
header = if( length(preamble) ) paste( preamble, sep = "" ) else "",
footer = "" )
- file
{
bib file to parse. By default, the file REFERENCES.bib in the
root directory of the package given by the package
argument is used.
}
- package
{
package from which we want to read the bibliography. Only used if file
is unspecified.
Core R packages (base, datasets, graphics, grDevices, methods, stats,
stats4, tools and utils) are treated specially: this package contains bibtex
entries for these packages.
}
- encoding
{encoding}
- header
{
header of the citation list. By default this is made from the Preamble
entries found in the bib file.
}
- footer
{
footer of the citation list
}
A citationList object, similar to those made by the
citation function.
Nelson H. F. Beebe. bibparse 1.04. 1999. http://www.math.utah.edu/~beebe
[object Object]
The parser is greatly inspired from the bibparse library.
citation
# this package has a a REFERENCES.bib file
bib <- read.bib( package = "bibtex" )# bibtex collects bibtex entries for R core packages
base.bib <- read.bib( package = "base" )
manip