learnr::run_tutorial(
name = "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.
TipThe R script of this session
๐ฅ Accompanying lecture videos
All the videos are available via this playlist.
๐ 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
Basicsexercises of the packageDataScienceExercises
TipQuick code for starting the exercises
- Do the
Functionsexercises of the packageDataScienceExercises
TipQuick code for starting the exercises
learnr::run_tutorial(
name = "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/.