write_dt2bib | R Documentation |
data.table
to a .bib file.The BibTeX data.table
is written to a .bib file.
write_dt2bib(dt, file = tempfile(fileext = ".bib"))
dt |
|
file |
character, file path to write the .bib file. |
file
as a character string, invisibly.
# Read from .bib file:
require(journalabbr)
file <- system.file("extdata", "testfile_2.bib", package = "journalabbr", mustWork = TRUE)
bib <- read_bib2dt(file)
# Write to .bib file:
write_dt2bib(bib, file = tempfile(fileext = ".bib"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.