CSCI E-5a: Introduction to Programming with R
Fall 2025
http://jrsacher.github.io/e5a
Sections
- Packaging Programs
- Testing Programs
- Visualizing Data
- Tidying Data
- Applying Functions
- Transforming Data
- Representing Data
- General Information
Packaging Programs
Slides
Example files
Topics
- Packages 📦
Testing Programs
Slides
Example files
Topics
- Why testing?
- Exceptions
message,warning,stoptestthat- Test-driven development (TDD) and behavior-driven development (BDD) philosophies
- Test coverage (
covr)
Visualizing Data
Slides
Example files
Topics
- Plotting (not the “evil” kind)
Resources
Tidying Data
Slides
Example files
Topics
Rpipe operator- Installing and using packages
- The Tidyverse
Tidyverse Resources
“Cheat sheets” for
Applying Functions
Slides
Example files
Topics
- Functions
- Variable scope
- Loops
apply- Functional programming
Transforming Data
Slides
Example files
General
- Grades released for Check 1
- Reminder: 2/3 is a good answer; 3/3 is a “bonus point”
- Will start grading Problem Set 1 shortly
- Your assigned TF will grade your assignment
- Questions, comments, or concerns?
Topics
- Logical operators and expressions
- Conditionals
- Subsetting data
- Combining data
Representing Data
Slides
Example files)
General
- Read the syllabus!
- Questions, comments, or concerns?
Topics
- Background/logistics
- R basics
- Creating files
- Functions
- Data types/structures
- Working with strings
- Vectors and Data frames
- Reading/writing data files
General Information
Contact Josh. Other staff info can be found here.
Sections (feel free to attend whichever is convenient):
- Zoom link – the same for all sections
- Tuesdays 6:00 PM - 7:30 PM ET with X
- Wednesdays 6:00 PM - 7:30 PM ET with Y
Office hours:
- Zoom link – the same for all office hours
- Mondays 6:00 PM - 7:30 PM ET with A
- Thursdays 6:00 PM - 7:30 PM ET with B
- Potentially by appointment – email Josh
Discussion forum – please post questions here first!