# set global chunk options
lapply(c("knitr", "RWordPress", "xtable", "reports", "knitcitations"), require, character.only = T)
opts_chunk$set(cache = TRUE, warning = FALSE, message = FALSE, tidy = FALSE)

pressNum_n_dir <- "INSERTwordpress_number/directoryHERE"   #e.g., "61803503/wp/"
path2figureStorage <- "C:/Users/you/Dropbox/Public/directoryHERE/"   #e.g., "C:/Users/trinker/Dropbox/Public/wp/"
opts_knit$set(base.url = paste0("http://dl.dropboxusercontent.com/u/", pressNum_n_dir),
    base.dir = path2figureStorage)
bib <- read.bibtex(dir()[tools::file_ext(dir()) == "bib"][1])

Intro/Overview Text Here


Section 1

x <- "here is a minimal example"
print(x)

Section 2

# eval code
# figures

Section 3

Remember to see the SEND_IT.R file to send to wordpress


References

bibliography("html") 


*Created using the r HR2("https://github.com/trinker/reports", "reports") package

# knitr::purl(".Rmd")


trinker/reports documentation built on May 31, 2019, 9:51 p.m.