Module 1: Intro to R and RStudio
In this module, you will learn how to write your own basic R code. First, you will need to install R and RStudio on your computer. Make sure that you go through the material provided in the links before attempting the exercises. You have two solutions to attempt the exercise (1) Write directly into the console and click `run code`. You will be told whether your get the correct answer. If stuck, you can ask for a hint or show the solution. Note that the first time you do this, a cloud server will be set up and it may take some time. Also do not navigate away from the code block (e.g., by opening another exercise) as this will stop the execution. (2) Attempt this on your local machine and use the Show solution tab to verify that you did the exercise correctly. You can also use the hints to help you if you choose to run locally.