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)
#
#Reading in your own bib file:
#bib <- read.bibtex(file.path(getwd(), basename(getOption("bib.loc"))))
#cite in text using `r citet(bib[1])`

Page 1

r citet(bib[1])


Page 2


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.