DATA 220G — Week 1 - 01

R & RStudio Refresher

Getting around RStudio

  • RStudio panes, tabs & toolbars
    • Source
    • Console
    • Terminal
    • Files
    • Environemnt
    • Plots
    • Help
    • Viewer
    • History
  • RStudio menus
  • RStudio preferences

Using RStudio

  • Running code from the Console
  • Running code from the Source pane
    • One line
    • Multiple lines
  • Saving a script for later use
  • Using the “safety net”
    • .Last.value
    • History pane
  • Making the best of “Help”