Setting up RStudio

RStudio is an Integrated Development Environment (IDE) that makes working with R much easier.

Installation

  1. Ensure you have R installed
  2. Visit RStudio Download Page
  3. Download the free RStudio Desktop version for your operating system
  4. Run the installer

After installing RStudio, we recommend the following settings:

  1. Tools → Global Options
    • General
      • Set “Save workspace to Rdata on exit” to Never
    • Code:
      • Enable “Soft-wrap R source files”
    • Pane Layout:
      • Ensure you have the following arrangement:
        • Top-left: Source
        • Top-right: Console
        • Bottom-left: Environment
        • Bottom-right: Files/Plots/Packages/Help