df2bib | R Documentation |
tibble
to a .bib fileThe BibTeX tibble
is written to a .bib file
df2bib(x, file = "", append = FALSE, allfields = TRUE)
x |
|
file |
character, file path to write the .bib file. An empty character string writes to |
append |
logical, if |
allfields |
logical, if |
file
as a character string, invisibly.
Thomas J. Leeper
Gianluca Baio
https://www.bibtex.org/Format/
bib2df
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.