Learn R Programming

biblio (version 0.0.9)

read_bib: Read BibTeX Databases

Description

Reading BibTeX databases and importing into R as a data frame. All the fields will be inserted as character values.

Usage

read_bib(x, ...)

Value

An object of class lib_df.

Arguments

x

A single character value with the path to a BibTeX file. Alternativelly it can be a character vector containing the lines of a BibTeX library, for instance after using readLines().

...

Further arguments passed to readLines().

Examples

Run this code
Refs <- read_bib(x = file.path(
  path.package("biblio"),
  "LuebertPliscoff.bib"
))
Refs

Run the code above in your browser using DataLab