Reproducible research: LaTeX + R

Course title: Reproducible research: LaTeX + R
Course code: ISRIC-RTEX
Subject areas (Curriculum): Software tools
Duration: 1 day
Moderators: Hengl, T.
Short description: Thanks to the Sweave package, LaTeX and R code can be combined in one document. If programmed correctly, the code will automatically run all analysis, produce plots and tables and format them into a professional document (following some pre-defined style). Such system is basis of what is called “Reproducible research” - fully documented and reproducible research analysis and reporting. The objective of this course is to train participants to use LaTeX in combination with R to produce such reproducible documents.
Target audience: MSc and PhD level students with some basic programming skills.
Requirements: Knowledge requirements:
  • R programming (basic)
  • LaTeX (basic)
Programme:
  1. Installation of software and  (1.5 hrs)
  2. Combining LaTeX and R code - Sweave (1.5 hrs)
  3. Exercise: writing a small report on data analysis (1.5 hrs)
  4. Exercises: inserting plots and tables (1.5 hrs)
Software / materials: Software:
  • R (packages: Sweave)
  • MikTeX
  • WinEdt
Case studies: Swave examples
Literature: Leisch, F. 2009. Sweave user manual.
Hengl et al. 2011: The Unofficial Guide for Authors.
Minimum number of participants: 5
Maximum number of participants: 35
Further inquiries Tom Hengl