- Introductions
- Class overview
- Getting R up and running
[Photo by Belinda Fewings on Unsplash]
[Photo by Belinda Fewings on Unsplash]
Poll: How are you feeling right now?
Clif McKee (he/him)
Research Associate, Department of Epidemiology, JHSPH
Masters and PhD in Ecology
Email: cmckee7@jhu.edu Web: http://clifmckee.github.io
Ahmed Sabit
Research Associate, Department of Biostatistics, JHSPH
Masters in Statistics
Email: ahmed.sabit@jhu.edu
Bella Satpathy-Horton
3rd year PhD student in Biostatistics, JHSPH
Email: ghorton2@jhmi.edu
Please introduce yourself on Slack!
Learning a programming language can be very intense and sometimes overwhelming.
We recommend fully diving in and minimizing other commitments to get the most out of this course.
Like learning a spoken language, programming takes practice.
Learning R has been career changing for all of us, and we want to share that!
We want you to succeed – We will get through this together!
R is a language and environment for statistical computing and graphics developed in 1991
R is both open source and open development
[source: http://www.r-project.org/]
Free (open source)
High level language designed for statistical computing
Powerful and flexible - especially for data wrangling and visualization
Extensive add-on software (packages)
Strong community
[source: https://github.com/rladies/meetup-presentations_baltimore]
Little centralized support, relies on online community and package developers
Annoying to update
Slower, and more memory intensive, than the more traditional programming languages (C, Perl, Python)
[source -School vector created by nizovatina - www.freepik.com]
What do you hope to get out of the class?
Why do you want to use R?
[Photo by Nick Fewings on Unsplash]
http://jhudatascience.org/intro_to_r
Materials will be uploaded the night before class. We are constantly trying to improve content! Please refresh/download materials before class.
https://courseplus.jhu.edu/core/index.cfm/go/course.home/coid/25840/
[source - Banner vector created by pch.vector - www.freepik.com]
Homework and Final Project due by June 26th at 11:59 pm ET.
If you turn homework in earlier this can allow us to potentially give you feedback earlier.
Note: Only people taking the course for credit must turn in the assignments. However, we will evaluate all submitted assignments in case others would like feedback on their work.
If you can, we suggest working virtually with a large monitor or two screens for your computer. This setup allows you to follow along on Zoom while also doing the hands-on coding. You will also be able to share your screen during lab sessions to help with debugging.
Found on our website under the Resources tab: https://jhudatascience.org/intro_to_r/resources.html
Error messages can be scary!
We will also dedicate time today to debug any installation issues
Large language models (LLMs) like ChatGPT, Claude, and Gemini have become very useful for generating programming code from simple prompts. Learning to code isn’t just about memorizing R functions, so these tools can serve as a great reference. You may also find these tools helpful in writing code for unfamiliar analyses, or even in debugging some existing code. However, we encourage you to take extra care to test that code from these AI tools is producing the correct output you want. In addition, you should take time to inspect the code to understand what each line is doing so that you can modify it as needed.
Coding with AI is like eating a meal at a restaurant versus learning how to cook yourself. You don’t get skilled at cooking by just eating!
Install the latest R version (4.6.0 (called ‘Because it was There’) as of 2026-04-24)
More detailed instructions on the website.
RStudio is an integrated development environment (IDE) that makes it easier to work with R.
More on that soon!
🏠 Class Website - logistics, resources, and help!
🩺 Pulse Check - https://forms.gle/aq13Ti3y9w5zsNeu7