2 Installing R and RStudio
Have your computer installed with R and RStudio!
2.1 Step 1: Install R
- Visit R Project’s Website
- Download R
- Choose your operating system:
- Windows: Click on “Download R for Windows” → “base” → “Download R X.X.X for Windows”.
- macOS: Click on “Download R for (Mac) OS X” → Select the appropriate package for your macOS version.
- Linux: Follow the instructions for your specific distribution.
- Windows: Click on “Download R for Windows” → “base” → “Download R X.X.X for Windows”.
- Choose your operating system:
- Install R
- Run the downloaded file and follow the on-screen instructions.
- For most users, the default settings will work.
2.2 Step 2: Install RStudio
- Visit RStudio’s Website
- Go to RStudio Download.
- Download RStudio
- Click “Download” under the free RStudio Desktop version.
- Select the installer for your operating system (Windows, macOS, or Linux).
- Install RStudio
- Run the downloaded file and follow the installation prompts.