# NOT RUN {
# Read from .bib file:
path <- system.file("extdata", "biblio.bib", package = "bib2df")
bib <- bib2df(path)
# Write to .bib file:
bibFile <- tempfile()
df2bib(bib, bibFile)
# Use `append = TRUE` to add lines to an existing .bib file:
df2bib(bib, bibFile, append = TRUE)
# }
Run the code above in your browser using DataLab