Generate citations for knitr markdown and html files
Switch branches/tags
Nothing to show
Pull request Compare This branch is 182 commits behind cboettig:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
inst
man
vignettes
DESCRIPTION
NAMESPACE
README.md

README.md

knitcitations

knitcitations is an R package designed to add dynamic citations to dynamic documents created with Yihui's knitr package.

Use

knitcitations allows dynamic citations by passing in the DOI of a paper, such as citep("10.1111/j.1461-0248.2005.00827.x") It uses crossref to look up the citation information, and can insert a parenthetical or in-text citation. A bibliography is then generated from citations and can be inserted using the command bibliography(). Citations can also be included by bibtex shortcode. A more detailed tutorial (using knitr) can be found in inst/examples.

Installation

Install directly from Github using Hadley's devtools package

library(devtools)
install_github("knitcitations", "cboettig")

You can also clone or download the repository and install with R CMD INSTALL. Once I'm through the early development phase a copy will be available on CRAN.