VVZ API is not affiliated with ETH Zurich. Data might be outdated or incorrect. Please view the official ETHZ Vorlesungsverzeichnis for binding information.

401-6228-00L 1 Credits MSC D-MATH
You're viewing possible stale or outdated data. Please check the latest semester for more up-to-date information.

Programming with R for Reproducible Research

Lecturers & Examiners: Prof. em. Dr. Martin Mächler
VVZ CR n/a

Last Updated: 2026-02-05 16:37:17

Abstract

Deeper understanding of R: Function calls, rather than "commands".Reproducible research and data analysis via Sweave and Rmarkdown.Limits of floating point arithmetic.Understanding how functions work. Environments, packages, namespaces.Closures, i.e., Functions returning functions.Lists and [mc]lapply() for easy parallelization.Performance measurement and improvements.

Objective

Learn to understand R as a (very versatile and flexible) programming language and learn about some of its lower level functionalities which are needed to understand *why* R works the way it does.

Content

See "Skript": https://github.com/mmaechler/ProgRRR/tree/master/ETH

Resources

Lecture Notes

Material available from Githubhttps://github.com/mmaechler/ProgRRR/tree/master/ETH(typically will be updated during course)

Literature

Norman Matloff (2011) The Art of R Programming - A tour of statistical software design. no starch press, San Francisco. on stock at Polybuchhandlung (CHF 42.-). More material, notably H.Wickam's "Advanced R" : see my ProgRRR github page.

Learning Materials (Links)

General Information

Language
English
Levels
MSC
Frequency
Yearly recurring

Examination

Type
graded semester performance
"Written", respectively at computer, at the end of the teaching block

Course Components

Type Title Time & Place Hours
lecture with exercise Programming with R for Reproducible Research
  • Tue 14:15-16:00 (HG E 1.1)
  • 16.04 Date 14:15-16:00 (HG E 41)
14 h semesterly

Offered In

  • Statistics Master (The following courses belong to the curriculum of the Master's Programme in Statistics. The corresponding credits do not count as external credits even for course units where an enrolment at ETH Zurich is not possible.)