Learning Objectives for today

R Environment

RStudio

RStudio consists of four panels:

The Plots tab shows plots that are generated by R code.

The Packages tab shows what R packages have been installed to your hard drive.

The Help tab displays the documentation for an R function. The paradoxical thing about R is that in order to get help with some R function, you need to know the name of the R function, when often the basic problem is that you do not know or remember the name of the function you are looking for.

The Viewer tab can be used to view local web content.

Space of these four panels

You can resize the four panels by placing the mouse on the edge of one of the panels and dragging to make it smaller or larger. You could also reconfigure their locations and contents, but here we will assume that the four panels have the stock configuration. Each panel also has rectangles in the top right to make the panel minimized or maximized, which may be used to uncover or cover the panel above or below.

Rstudio Panels

Rstudio Panels

RStudio Customization

Rstudio Customization

Rstudio Customization

Rstudio Customization

Rstudio Customization