🗓️ Session 2: First steps in R

Author
Published

21 03 2024

Modified

19 04 2024

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/.