Introduction to RStudio

Steve Bellan (slides borrowed from John Muschelli)

Working with R

R essentially is a command line with a set of functions loaded

R Uses Functions, in Packages

Using Packages

RStudio (the software)

RStudio is an Integrated Development Environment (IDE) for R

RStudio

Easier working with R

More information

RStudio/R Console

RStudio/R Console

RStudio Layout

If RStudio doesn’t look like this (or our RStudio), then do:

RStudio –> Preferences –> Pane Layout

You can also change the Color theme in preferences.

Source/Editor

Source

In a .R file (we call a script), code is saved on your disk

Workspace/Environment

Workspace/Environment

History

Other Panes

Useful R Studio Shortcuts

Website

EPID 7500 Course Website

John Muschelli’s Course at Johns Hopkins & github repository