This is an old revision of the document!

Panes in RStudio

There are generally four panes in RStudio, which are labeled 1 through 4 on this image:

RStudio Panes

RStudio does allow you to move panes in the options menu, but this layout is the default when you first log in, so we’ll act as though it’s standard.

Pane 1: View Files and Data

This pane appears by default in the top left of the RStudio interface. When you click on a data file in the Workspace pane, or open a file from the Files pane, the results will appear in Pane 1. Each file opens in its own tab, and you can navigate between tabs by clicking on them (or using keyboard shortcuts).

Pane 2: See Workspace and History

This pane appears by default in the top right of the RStudio interface. The Workspace tab is generally the tab that is selected, and includes a list of all the objects you have loaded into your workspace. For example, all datasets you have loaded will appear here, along with any other objects you have created (special text formats, vectors, etc). If you click on the History tab, you will see the complete history of code you have typed, over all sessions. For an example, see Figure 4 The history is searchable, so you can use the search box at the upper right of the pane to search through your code history. If you find a line of code you want to re-run, just select it and click the “To Console” button, as shown in Figure 5.

 The history tab Send to Console

Pane 3: See Files, Plots, Packages, and Help

This pane appears by default in the bottom right, and by default opens on the Files tab.

This tab shows you all the files you have saved in your RStudio account. The buttons across the top of the tab allow you to upload additional files, delete files, rename files, and many more functions.

Pane 4: Console