Programming Resources (R & SAS)

Free, high-quality learning links for MSc/PhD students (beginner-friendly)

R programming resources

Core pathway (start here)

R for Data Science (R4DS) — the main course companion

  • https://r4ds.hadley.nz
  • Best for: students new to programming who need a practical workflow
  • Topics: importing, wrangling, visualization, functions, iteration, reporting

Hands-On Programming with R — gentle intro to programming concepts

RStudio — R Learning Paths


R for epidemiology and health research

The Epidemiologist’s R Handbook — applied epi/public health workflows

  • https://epirhandbook.com
  • Best for: health-focused examples and “how to do the thing” guidance
  • Great for: descriptive epi, cleaning, regression workflows, reporting

R4DS Online Learning Community — guided practice + peer support


Working with larger datasets (scaling up)

Efficient R Programming — performance and memory awareness

TipPractical “large data” mindset (for health admin datasets)
  • Read only the columns you need
  • Use joins carefully (check row counts before/after)
  • Summarize early; avoid duplicating huge objects
  • Learn to profile slow steps (later in the term)

Reproducible reporting (required skill for health research)

R Markdown: The Definitive Guide

Quarto Guide (Posit)


SAS programming resources

Core pathway (start here)

SAS Documentation (official)

  • https://documentation.sas.com
  • Best for: authoritative reference on DATA step and PROC basics
  • Use for: DATA step, PROC SORT, PROC FREQ, PROC MEANS, PROC SQL

SAS for Students (Academic / Skill Builder landing)


SAS for applied statistics (health-relevant examples)

UCLA IDRE SAS resources (excellent applied tutorials)


SAS + large datasets (real-world patterns)

SAS Global Forum proceedings (conference papers)

Lex Jansen (searchable SAS conference paper archive)

  • https://www.lexjansen.com
  • Best for: finding “how do I do X in SAS?” by use case (including health/claims-style problems)

Bookmark list (fast access)

R

SAS