Layout of R

There are four primary quadrants in RStudio:

RStudio Layout

The source pane allows us to edit and view various code-related files, such as .R, .rmd, .qmd, .py, .css, or general text files such as .txt or .md.

The console pane provides an area to interactively execute code.

The environment pane includes the Environment, History, Connections, Build, and Version Control System (VCS) tabs and displays any currently saved objects.

The output pane displays various outputs, such as plots, and contains the Files, Plots, R Packages, Help, Tutorial, Viewer, and Presentation tabs.