2.1 What is RStudio?

RStudio is an Integrated Development Environment (IDE) for R. RStudio facilitates the task of coding by providing an enhanced programming experience. First, RStudio is free and easy to learn. Second, RStudio's elements are displayed in a four-panel display: the code editor (the script), the console (the results and debugging), the global environment (e.g., R objects, history of our session), and a notebook that includes different active tabs (e.g., plots, packages, help) (Figure 2.2). Last, there is an optimal integration of the different panels and tabs to run R sessions and projects smoothly.

RStudio's four-panel display.

Figure 2.2: RStudio's four-panel display.