bib.text <- "@Manual{mclean2014,
author = {Mathew William McLean},
title = {Straightforward Bibliography Management in R Using the RefManager Package},
note = {arXiv: 1403.2036 [cs.DL]},
year = {2014},
url = {https://arxiv.org/abs/1403.2036},
}"
tfile <- tempfile(fileext = ".bib")
writeLines(bib.text, tfile)
ReadBib(tfile)
unlink(tfile)
if (FALSE) {
file.name <- system.file("Bib", "RJC.bib", package="RefManageR")
bib <- ReadBib(file.name)
}
Run the code above in your browser using DataLab