XQuartz installation on macOS
Table of Contents
Due to the novel coronavirus (SARS-CoV-2) 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. Students enrolled in MAT-15303 Statistics 1 and MAT-15403 Statistics 2 will use R Commander instead of basic R. Therefore, they will need to install R Commander.
R Commmander has been programmed in Tcl (Tool Command Language) and uses Tk as a graphical user interface toolkit. To be able to use R Commander correctly on macOS, software needs to installed that enables the use of Tcl/Tk. XQuartz is the only software on macOS, which enables the operating system to use Tcl/Tk.
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 release of XQuartz is version 2.7.11. It will work on Mac OS X Snow Leopard (version 10.6.3) or later, up to and including macOS Catalina (version 10.15.x).
Download XQuartz using the following link: XQuartz v2.7.11 (ca. 75.9 MB)
To install XQuartz on macOS perform the following steps:
- Open the downloaded XQuartz 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 XQuartz disk image will look like the image displayed below.
- Opening the XQuartz disk image will cause a window labeled ‘XQuartz-2.7.11’ to appear containing a XQuartz installer package. This package looks like the image shown below. Double click the XQuartz installer package to open the installer.
- The installer for XQuartz will appear, showing the Introduction as displayed below. Click the ‘Continue’ button to proceed.
- Next the Read Me will appear as shown below. Click the ‘Continue’ button to proceed.
- Right after the Read Me a Software Licence Agreement will appear. By clicking the ‘Continue’ button you will be asked to agree with this software licence agreement as diplayed below. Click on ‘Agree’ to proceed.
- The installer will select the best destination to install the software for you and will display the Installation Type as shown below. Click on the ‘Install’ button to start the software installation.
- Before the software installation will commence, confirmation of the user is requested as displayed below. Either use the finger print scanner on the touch bar of your mac or confirm using the password of your mac.
- Most likely a security request will pop up from your operating system, requesting access to control system events as shown below. Click on the on the ‘OK’ button to grant access.
- Now you will be warned that to make XQuartz your default X11 server, as shown below, you will need to log out and again log into your system. Click on the on the ‘OK’ button to continue.
- The software installer will start installing XQuartz onto your mac. When completed the installer will show a summary stating, that the installation was successful as shown in the image below. Click on the ‘Close’ button.
- The installer will finally ask you, whether you want to keep or move the XQuartz installer package to the trashbin. Click ‘Move to Bin’ to discard the installer package and simultaneously close the XQuartz disk image. Actually the XQuartz disk image will be put into the trashbin!