Zachary S.L. Foster, Zhian N. Kamvar, and Niklaus J. Grünwald
Welcome! This primer provides a concise introduction to conducting reproducible science in R. While this primer does not require extensive knowledge of programming in R, the user is expected to install R and all packages required for this primer.
Session | Length | Clock |
---|---|---|
Introduction (Nik) | 20min | 8:30 |
Data formatting and read/write (Zhian) | 15min | 8:50 |
Markdown (Zach) | 30min | 9:20 |
Break | 20min | 9:40 |
Intro to R (Zhian) | 10min | 10:00 |
R markdown (Zach) | 50min | 10:10 |
Git and github (Zhian) | 20min | 11:00 |
Organizing Reproducible Research (Zach) | 10min | 11:20 |
Wrapup Survey | 5min | 11:30 |
You can find rendered vignettes on our website.
install the git2r, knitcitations, and rmarkdown packages:
devtools::install_github("rstudio/rmarkdown", "cboettig/knitcitations")
install.packages("git2r")
To build the website locally:
rmarkdown::render_site()
To build the website on the gh-pages
branch
source("make_gh_page.R", echo = TRUE)
You can then push your changes from the master and the gh-pages branch.
It seems to work, but ¯\(ツ)/¯