๐Ÿ—“๏ธ Session 2: First steps in R

Published

21 03 2025

Modified

14 05 2025

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.

๐ŸŽฅ Accompanying lecture videos

All the videos are available via this playlist.

๐Ÿ“š Mandatory Reading

๐Ÿ† Further readings

โœ๏ธ Coursework

  • Do the Basics exercises of the package DataScienceExercises
learnr::run_tutorial(
  name = "Basics", 
  package = "DataScienceExercises", 
  shiny_args=list("launch.browser"=TRUE))
  • Do the Functions exercises of the package DataScienceExercises
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/.