::run_tutorial(
learnrname = "Basics",
package = "DataScienceExercises",
shiny_args=list("launch.browser"=TRUE))
🗓️ Session 2: First steps in R
In this session, you will learn about how to use the integrated development environment R-Studio to edit and execute R script and about the basic commands in R. Moreover, you will be introduced to two fundamental concepts: assignments and functions.
👨🏫 Lecture Slides
Either click on the slide area below or click here to download the slides.
The R script of this session
🎥 Accompanying lecture videos
All the videos are available via this playlist.
Expand to access the videos directly
📚 Mandatory Reading
- Tutorial First steps in R
- Chapter 2 in Wickham et al. (2023).
🏆 Further readings
- R Studio Cheat Sheet
- Chapter 4 in Wickham et al. (2023).
- Chapter 8 in Wickham et al. (2023).
✍️ Coursework
- Do the
Basics
exercises of the packageDataScienceExercises
Quick code for starting the exercises
- Do the
Functions
exercises of the packageDataScienceExercises
Quick code for starting the exercises
::run_tutorial(
learnrname = "Functions",
package = "DataScienceExercises",
shiny_args=list("launch.browser"=TRUE))
- If you have questions or problems, please post them in the Moodle forum
References
Wickham, H., Çetinkaya-Rundel, M. and Grolemund, G. (2023) R for data science: Import, tidy, transform, visualize, and model data, 2nd edition., Beijing et al.: O’Reilly, available at https://r4ds.hadley.nz/.