Setting up RStudio
RStudio is an Integrated Development Environment (IDE) that makes working with R much easier.
Installation
- Ensure you have R installed
 - Visit RStudio Download Page
 - Download the free RStudio Desktop version for your operating system
 - Run the installer
 
Recommended Settings
After installing RStudio, we recommend the following settings:
- 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
 
 
 - Ensure you have the following arrangement:
            
 
 - General