Introduction to R Studio Environment

Ushani Atapattu
2 min readJul 16, 2023

The previous article demonstrated how to install R and R Studio in your PC. Now let’s start using R through R Studio. In this article, an overview of the R studio environment, and how to change the layout of the environment is explained.

Contents:

1.) R Studio Environment Panels

2.) Customizing R studio Environment Panels

1.) R Studio Environment Panels

Once you open R studio, you will see the an interface like the one shown in the image below:

R studio Environment

Now let’s see what are the important regions of R studio environment.

i) Source pane

Source pane — R studio

Through the source pane we can enter our code. Usually in R language, but R studio has facilities to support others such as Python, Bash and SQL. In addition, viewing datasets, tables etc. can done here.

Multiple tabs can be opened in the source pane if necessary.

ii) Environment Pane

Environment pane — R studio

Here it is possible to visualize the objects that you have created or loaded into your project or R studio. These will include the data, variables, functions etc.

iii) Console

Console — R studio

Here the you can type and run the commands and display non-graphic outputs.

iv) Plots, packages and help pane

Plots/packages/help pane — R studio

Here plots (graphical output), packages and help for packages can be seen.

2.) Customizing R studio Environment Panels

The layout of R studio can be changed according to your need, convenience or the preference. The following video demonstrates how this can be done.

How to change the R studio environment

--

--

Ushani Atapattu

A veterinarian, with a passion for everything in the tropics! From animals to humans.