Exercise 1 R and RStudio

1.1 Lecture note

1.2 Exercise

  1. Create a new project in the RStudio IDE. Name your project as sta326.

  2. Select a suitable theme for your RStudio IDE’s user interface.

    Help: Navigate to Tools > Global Options > Appearance .

  3. Go to Tools > Global Options > General and set the settings as follows:

  1. Change the RStudio pane layout according to your needs.

    Help: Tools > Global options > Pane layout and fix it.

  2. Create a new folder called weeek1 inside your main R project.

  3. Open a new script file and save it as week1_exercise.R inside the week1 folder created in the third step.

  4. Go to Exercise 2.2 and write all codes on the R script week1_exercise.R