Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.33 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.33 KB

citr: RStudio Addin to Insert Markdown Citations

Build status

citr provides functions and an RStudio addin to search a BibTeX-file, create, and insert formatted Markdown citations into the current document.

Installation

Until citr is on CRAN you can install it from this GitHub repository:

devtools::install_github("crsh/citr")

How to use citr

The RStudio addin

Once citr is installed you should find the addin in the menus.

You can also define a keyboard shortcut to call the addin.

Using citr without RStudio

The following call searches a BibTeX-file and creates formatted Markdown citations for the results.

library("citr")
md_cite("foo 2016", bib_file = "references.bib")

md_cite() searches author, year, title, and journal fields of your references.

Other RStudio addins

If you are interested in other handy addins take a look at this list. There you can find other useful addins, such as the word count addin.