% Title % Name % Date

# set global chunk options
opts_chunk$set(cache=TRUE)
library(knitr); library(knitcitations)
BIB <- system.file("extdata/docs/example.bib", package = "reports") #test .bib
bib <- read.bibtex(BIB)
#cite in text using `r citet(bib[1])`

Slide 1

Slide 2

r citet(bib[1])
r citet(bib[2])
r citet(bib[3])
r citet(bib[4])

References

bibliography("html") 


Try the reports package in your browser

Any scripts or data that you put into this service are public.

reports documentation built on May 2, 2019, 8:29 a.m.