Last chance! 50% off unlimited learning
Sale ends in
write a bibtex file
write.bibtex(entry = NULL, file = "knitcitations.bib", append = FALSE, ...)
a 'bibentry' object or list of bibentry objects. If NULL, writes all that have currently been cited.
output bibtex file. Will automatically append '.bib' if not added. if 'NULL' will use stdout.
a logical indicating that bibtex entries be added the the file. If FALSE (default), the file is overwritten.
additional arguments to WriteBib
a list of citation information, invisibly
read.bib citep citet
# NOT RUN {
tmp <- tempfile(fileext=".bib")
write.bibtex(c(citation("knitr"),
citation("knitcitations"),
citation("httr")),
file = tmp)
bib <- read.bibtex(tmp)
# }
Run the code above in your browser using DataLab