get_bibentries(..., package = NULL, bibfile = "REFERENCES.bib")
This function parses the specified file using read.bib
from
package "bibtex" and sets its names
attribute to the keys of
the bib elements.
bibfile
should normally be the base name of the Bibtex file.
Calling get_bibentries
without any ...
arguments
results in looking for the Bibtex file in the current directory if
package is NULL or missing, and in the installation directory of the
specified package, otherwise.
Argument "..." may be used to specify directories.
If package
is missing or NULL, the complete path is obtained
with file.path(..., bibfile)
. Otherwise package
must be
a package name and the file is taken from the installation directory
of the package. Again, argument "..." can specify subdirectory
as in system.file
.