df2bib {bib2df} | R Documentation |
Export a BibTeX tibble
to a .bib file
Description
The BibTeX tibble
is written to a .bib file
Usage
df2bib(x, file = "", append = FALSE, allfields = TRUE)
Arguments
x |
|
file |
character, file path to write the .bib file. An empty character string writes to |
append |
logical, if |
allfields |
logical, if |
Value
file
as a character string, invisibly.
Author(s)
Thomas J. Leeper
Gianluca Baio
References
https://www.bibtex.org/Format/
See Also
Examples
# Read from .bib file:
path <- system.file("extdata", "bib2df_testfile_3.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)
[Package bib2df version 1.1.2.0 Index]