January 11, 2019

A starter kit for reproducible research with R

This accompanies my draft short article for the UKES Bulletin: A reproducible workflow for evaluation reports.

Here are just two files which together get you started with a bare-bones reproducible research project.

  • Install and install R and RStudio.
  • Download this little example of a reproducible source file and an accompanying example Excel file describing the heights and ages of a bunch of boys and girls in a school.
  • Save them together in a new folder.
  • Double-click the source file to open it in RStudio. The source file has a couple of commands to read the Excel file, clean it and make a table and a chart, as well as plain text which becomes the headings and body of the document.
  • Press the blue Knit” button in RStudio, you will get a beautiful Word document.
  • Try editing the text and then press Knit” again to see what happens.

R reproducibleResearch


Previous post
A reproducible workflow for evaluation reports This is a draft of a short article for the UKES Bulletin. Most evaluators have to produce at least a few tables and graphics in their evaluation
Next post
Scandal or yawn? Simpson’s Paradox hits the IFRC Causality and more - ideas by Steve Powell: Scandal or yawn? Simpson's Paradox hits the


This blog by Steve Powell is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, syndicated on r-bloggers and powered by Blot.
Privacy Policy
.