Published September 2, 2017 | Version v1

A Hands-on Introduction to Literate Programming in R

  • 1. UCLA Library
  • 2. University of Rhode Island

Description

A fundamental challenge for open science is how best to share the code and data used to produce the analysis, tables, and figures contained in a publication. Fortunately, new tools are emerging to address this problem. This workshop will introduce a solution that utilizes widely used open source components. We'll create a "compilable" document containing text and bibliography, as well as all the code needed to create the graphs and tables. We'll demonstrate how the process facilitates making revisions when data changes or in response to reviewer recommendation and the ease with which work can be shared pre or post publication. The following tools will be introduced:

  • RStudio
  • Markdown
  • Zotero
  • BibTex
  • GitHub

Files

data-lessons/literate-programming-r-v1.1.zip

Files (17.4 MB)

Name Size Download all
md5:e190e23c29a67b7c7b3c4bb6476afbad
17.4 MB Preview Download

Additional details