Skip to content

fmark/knitcitations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Generate citations for knitr markdown and html files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published