Learn R Programming

⚠️There's a newer version (1.0.12) of this package.Take me there.

knitcitations (version 0.1-0)

Citations for knitr markdown files

Description

While traditional Sweave documents can take advantage of LaTeX citation tools, knitr also allows users to combine the much simpler markdown with R code. This package offers citation tools to make up for this. This package will also take advantage of the web-based nature of markdown documents to allow dynamic citations pulled from the web.

Copy Link

Version

Install

install.packages('knitcitations')

Monthly Downloads

3,582

Version

0.1-0

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Carl Boettiger

Last Published

July 27th, 2012

Functions in knitcitations (0.1-0)

create_bibkey

generate bibkeys for unamed bibentry objects
functiontable

a table of functions in a package
uniquebib

Return only unique entries in a list of bibentries
citet

Add a textual citation
authoryear_t

format the author and year
list_to_bibentry

Helper function to make a list of bibentry objects into a single bibentry object containing multiple entries
formatref

Convert crossref XML into a bibentry object
unique.bibentry

A simple method to determine unique bibentries by bibkey
read.bibtex

read in bibtex and use key as list names
authoryear_p

format the author and year parenthetically
cleanbib

clean the bib list
bibliography

Generate the bibliography
cite

Add a citation (internal for citet and citep)
write.bibtex

write a bibtex file
ref

Lookup article info via CrossRef with DOI.
citep

Add a paranthetical citation