19–29 October 2026 5 lessons · 9:00–13:00 Psico 1 · Aula ARCA Taught in English ARCA · University of Padova
Goals
- Learn all the main elements that make up the R language
- Learn the general logic of programming, useful with any language
- Improve the way we approach problems and make everyday work more efficient
How the lessons are organized
- Theoretical and logical understanding of the topics
- Understanding code output, error messages and special cases
- Hands-on practice writing code and solving exercises
During the lessons we use a shared pad for the in-class exercises: keep it open!
Schedule
| Lesson | Date | Time | Room |
|---|---|---|---|
| 1 | Monday 19/10/2026 | 9:00 – 13:00 | Psico 1 - Aula ARCA |
| 2 | Wednesday 21/10/2026 | 9:00 – 13:00 | Psico 1 - Aula ARCA |
| 3 | Friday 23/10/2026 | 9:00 – 13:00 | Psico 1 - Aula ARCA |
| 4 | Tuesday 27/10/2026 | 9:00 – 13:00 | Psico 1 - Aula ARCA |
| 5 | Thursday 29/10/2026 | 9:00 – 13:00 | Psico 1 - Aula ARCA |
Exam
Format
Several exercises covering the topics presented during the course.
Duration and mode
1 hour, in class.
Allowed material
You may use the material provided during the lessons. Other online material (or ChatGPT) is not allowed during the exam.
Slides
Each lesson is available as interactive slides (HTML) and as a PDF to download.
Introduction
Data structures
Programming
Extra
Exercises
Exercises and their solutions will be published here during the course, lesson by lesson.
Introduction (1 to 3) - Script with solutions
Vectors - Script with solutions
Factors - Script with solutions
Lists and Matrices - Script with solutions
Dataframe 1 - Script with solutions 1
Dataframe 2 - Script with solutions 2
Useful links
Materials in English
- Download R and RStudio: official installation page
- Hands-On Programming with R: a beginner-friendly introduction to programming in R
- YaRrr! The Pirate’s Guide to R: an introduction to R for psychology students
- Learning Statistics with R: R and statistics for psychology students
- R for Data Science (2e): importing, tidying, transforming and visualizing data
- ggplot2: Elegant Graphics for Data Analysis: the reference book for plotting
- Advanced R: for going deeper into how R works
- An Introduction to R: the official manual from CRAN
- Posit Cheatsheets: one-page summaries of RStudio and common packages
Course resources
- Course repository on GitHub
Materials in Italian
- Introduction2R: open-source book on R
- Installation guide for R and RStudio
Credits: some material has been taken/adapted from materials by Filippo Gambarota and Enrico Toffalini.