[ACCEPTED]-How to export an R citation output into endnote?-citations
How automated this can be will depend on 14 what Endnote can import. It seems BibTeX 13 import is not currently possible out of 12 the box, and requires some extra software. See 11 for example: http://www.lib.uts.edu.au/content/faq/how-can-i-import-bibliography-endnote-bibtex-latex-what-about-converting-other-way-endno
Read ?bibentry
and in particular the 10 argument style
and the Details section. See if 9 Endnote can import data in any of those 8 formats? I doubt it, but I have never used 7 Endnote.
If not, we can go the BibTeX route 6 if you install something that allows you 5 to import BibTeX into Endnote.
> utils:::print.bibentry(citation("ggplot2"), style = "Bibtex")
@Book{,
author = {Hadley Wickham},
title = {ggplot2: elegant graphics for data analysis},
publisher = {Springer New York},
year = {2009},
isbn = {978-0-387-98140-6},
url = {http://had.co.nz/ggplot2/book},
}
To get this 4 out into a file for passing to an import 3 utility, you can use capture.output()
capture.output(utils:::print.bibentry(citation("ggplot2"), style = "Bibtex"),
file = "endnote_import.bib")
Which gives a file 2 with the following content:
$ cat endnote_import.bib
@Book{,
author = {Hadley Wickham},
title = {ggplot2: elegant graphics for data analysis},
publisher = {Springer New York},
year = {2009},
isbn = {978-0-387-98140-6},
url = {http://had.co.nz/ggplot2/book},
}
which you should 1 be able to import with third party tools.
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.