R Basics

Swirl is a great and easy way to get you started with R. Install and open it by clicking the green arrow on the right.

Install Swirl Package:


Once you enter your username, it prompts you to choose a course to install. Choose 1 for “R Programming” to learn the basics. Then, enter 1 again and it will take you to a menu of courses you can choose from.



Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The source code is licensed under MIT.

Suggest changes

If you find any mistakes (including typos) or want to suggest changes, please feel free to edit the source file of this page on Github and create a pull request.


For attribution, please cite this work as

Laura Vairus (2020). Hands-On Training: R. ImLab Notes. /post/2020/07/05/hands-on-training-r/

BibTeX citation

  title = "Hands-On Training: R",
  author = "Laura Vairus",
  year = "2020",
  journal = "ImLab Notes",
  note = "/post/2020/07/05/hands-on-training-r/"