If you find any typos, errors, or places where the text may be improved, please let me know by adding an annotation using hypothes.is. To add an annotation, select some text and then click the on the pop-up menu. To see the annotations of others, click the in the upper right-hand corner of the page.

B Introduction to RStudio

RStudio is the most employed Integrated Development Environment (IDE) for nowadays. When you start RStudio you will see a window similar to Figure B.1. There are a lot of items in the GUI, most of them described in the RStudio IDE Cheat Sheet. The most important things to keep in mind are:

  1. The code is written in scripts in the source panel (upper-right panel in Figure B.1);
  2. for running a line or code selection from the script in the console (first tab in the lower-right panel in Figure B.1), you do it with the keyboard shortcut 'Ctrl+Enter' (Windows and Linux) or 'Cmd+Enter' (Mac OS X).
Main window of `RStudio`. The red shows the code panel and the yellow shows the console output. Extracted from [here](https://www.rstudio.com/wp-content/uploads/2016/01/rstudio-IDE-cheatsheet.pdf).

Figure B.1: Main window of RStudio. The red shows the code panel and the yellow shows the console output. Extracted from here.