RStudio installation on macOS
Table of Contents
Due to the novel coronavirus (2019-nCoV) and its related disease 😷 COVID-19 employees and students at Wageningen University & Research are all working from home. Students taking Statistical Courses taught by Mathematical and Statistical Methods at Wageningen University & Research will most likely use R. Some of these courses (e.g. MAT-20306, MAT-32806, and MAT-50303) mainly use RStudio. Also other courses (e.g. HNH-31506 and BIF-51306) taught at Wageningen University & Research use R via RStudio as well. Therefore, students will need to be able to install RStudio.
In the text some symbol combinations are used for shortcuts, the following table explains the meaning of these symbols in relation to specific keys on your keyboard. To use the shortcuts press the keyboard keys simultaneously, e.g. ⇧⌘A means ⇧+⌘+A.
|Icon||Keyboard Meaning||Icon||Keyboard Meaning|
|⌥||option (or alt)||↩||carriage return (return/enter)|
|fn||function||⌦||forward delete (fn + ⌫)|
|⇧||shift (either left or right)||⎋||escape|
At the time this post was written the latest stable release of RStudio is version 1.2.5033. It will work on macOS High Sierra (version 10.13) or later.
Download RStudio using the following link: RStudio v1.2.5033 (ca. 126.9 MB)
Prior requirement for the RStudio installation on macOS:
To be able to install RStudio you will need to have R installed and configured first. If you haven’t done so already, please read the (re-)install and configure R on macOS (use the link above to go to that specific post) before continuing with this post.
To install RStudio on macOS perform the following steps:
- Open the downloaded RStudio disk image. This file will most likely reside in Finder > Downloads (shortcut: ⌥⌘L). The file can more easily be found by switching into List view (shortcut: ⌘2). To switch to Icon view use the shortcut: ⌘1. The Rstudio disk image will look like the image displayed below.
- Opening the RStudio disk image will cause a window labeled ‘RStudio-1.2.5033’ to appear, containing a RStudio application, as diplayed below.
- Drag the RStudio application and drop it on the Applications folder shown in the same window.
- Close the ‘RStudio-1.2.5033’ window by clicking on the red ball in the top left corner of the window.
- The opened disk image is still open on your desktop and will look like the image shown below. Click this icon on your desktop once to select it and press ⌘E (shortcut for eject) to close it. Now you can discard the downloaded
RStudio-1.2.5033.dmgfile from Finder > Downloads (shortcut: ⌥⌘L) by clicking it once to select and using the shortcut ⌦ (press: fn + ⌫) to put it in the trashbin. To completely remove the installer disk image remove it from your trashbin.