write_dt2bib {journalabbr} | R Documentation |
Export a BibTeX data.table
to a .bib file.
Description
The BibTeX data.table
is written to a .bib file.
Usage
write_dt2bib(dt, file = tempfile(fileext = ".bib"))
Arguments
dt |
|
file |
character, file path to write the .bib file. |
Value
file
as a character string, invisibly.
Examples
# 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"))
[Package journalabbr version 0.4.3 Index]