Introduction to R - Part I
Welcome to the R side.
Click here to see the materials in full screen
About these materials
Please cite these materials as: Sanchez-Steinhagen, C. L., Sharma, T., Rieger, D., Waterfield, E., Middleton, S., & Von Grebmer zu Wolfsthurn, S. (2026). Introduction to R: Part I [Quarto slides]. LMU Open Science Center. https://lmu-osc.github.io/teaching-material-for-novices/open-research-tools/r-part-I
Welcome! This workshop is intended to provide learners with an introduction to R and RStudio. Through hands-on exercises, you will learn how to navigate the RStudio interface and use basic R programming skills to work efficiently with your data. We will also learn how to create and manipulate objects, execute code, use functions with arguments, and access information stored in data frames within the R environment.
Who are these materials for?
- Educators in higher education with or without familiarity with open research planning to teach open research to novices
- Self-learners with no or limited familiarity with open research planning to develop and build up on their open research skills
Prerequisites
| Prerequisite | Description | Where to find it |
|---|---|---|
| RStudio installed | Version 2026.04.0+526 or higher | Download |
| R installed | Version 4.6.0 or higher | Download |
| Accessibility sheet for computers | Fundamentals of computer literacy | Download here |
Learning objectives
At the end of this session, you or your learners will be able to …
- Navigate the RStudio interface (Console, Environment, Script, and Output panes).
- Differentiate between basic data types in R (numeric, character, logical, integer) and how they are used.
- Execute operations in the Console and R Script using appropriate operators.
- Assign and re-assign values, vectors, and lists to objects.
- Specify arguments within functions to modify how the function produces its output. -Index dataframes to access and retrieve specific information.
RStudio’s developer changed its company name to Posit in 2022 to reflect its broader focus on data science beyond R. The RStudio IDE keeps its name and remains supported. Positron is an alternative IDE for working with R and Python.
Learn more: RStudio is now Posit
Download materials
Export slides
You can export these slides as MS PowerPoint (.pptx - in progress) or pdf by clicking below. Note that basic formatting will be applied to the PowerPoint file.
Accessibility sheet
Download the accessibility sheet for computers below: Download slides as PDF
Contributors and licence details
Creator: Sanchez Steinhagen, Caterina Luz (
0009-0006-4783-1110)
Creator: Sharma, Tejaswini (
0000-0000-0000-0000) CHANGE
Creator: Waterfield, Elizabeth (
0009-0006-3725-6730)
Creator: Rieger, David (
0009-0004-3701-3101)
Consultant: Middleton, Sara (
0000-0001-5307-8029)
Reviewer: Von Grebmer zu Wolfsthurn, Sarah (
0000-0002-6413-3895)
This work was originally created by Nicklas Hafiz. His work was subsequently adapted by Caterina Luz Sanchez Steinhagen, Tejaswini Sharma, David Rieger, Elizabeth Waterfield, Sara Lil Middleton and Sarah von Grebmer zu Wolfsthurn. The current work is licensed under a Creative Commons Attribution 4.0 SA International License (CC-BY-SA 4.0). Code snippets are dedicated to the public domain and are licensed under a Creative Commons Universal Licence (CC0 1.0).