2025-07-18
File, Console, Environment, and Files tabs
Command line of the bare R
Type a command (e.g. 1 + 1) and hit Enter to execute it.
Console displays the output.
> at line start: R is ready to accept your next command
Console does not save your scripts. Use files to save your work.
Clear Console: hit the broom icon or Ctrl + L.
De-clutter the Console with the broom icon.
File formats for writing R scripts
lists objects currently loaded in R
variables
functions you have written
Delete objects with the broom icon.
Toggle List and Grid view.
Grid view can mark individual objects for deletion.
Environment with objects in Grid View
What you see is the so-called Global Environment. Each software library (aka software package) that you load (more later) will create its own environment. In this course, we will only consider the Global Environment.
You typically install packages from https://cran.r-project.org/
A package sometimes has dependencies; i.e., requires other packages to work correctly. When you check Install dependencies, R will load all missing dependent packages automatically. CRAN is the official repository of R packages. But you can as well download a package from GitHub or elsewhere. You just adjust the source with Configuring Repositories in the Install menu.
Plots pane