An Introduction to R and RStudio

Retrieving Previous Commands

As you work with R you'll often want to re-execute a command which you previously entered. As with the standard R console, the RStudio console supports the ability to recall previous commands using the arrow keys:

[Up]- Recall previous command(s) [Down]- Reverse of Up

If you wish to review a list of your recent commands and then select a command from this list you can use Ctrl+Up to review the list (note that on the Mac you can also use Command-Up).