How To Download R Commander For Mac



This chapter describes how to download R from the Internet and install it and the R Commander on Windows, Mac OS X, and Linux/Unix systems. If you have already successfully installed R and the R Commander, then feel free to skip the chapter. Because ggplot2 isn’t part of the standard distribution of R, you have to download the package from CRAN and install it. The Comprehensive R Archive Network (CRAN) is a network of servers around the world that contain the source code, documentation, and add-on packages for R. Each submitted package on CRAN also has a page. R version 3.0.0 comes with an X-Windows installation of Tcl/Tk, and it is thus unnecessary to install Tcl/Tk for X Windows in a separate step. I strongly recommend that you upgrade to the current version of R, and then follow the standard R Commander installation notes for Mac OS X users. Using an old version of R will restrict you to an old. Was written by John Fox. He has written a piece on getting started with R Commander available here. After you have installed R Commander, this is also available from the Help button under “Introduction to the R Commander.” Nathasha Karp has written a detailed introduction to R Commander here.

R-Commander is a an easy to use Graphical User Interface to run statistical applications using the R statistical engine. Much of what you can do in native command line R can be done easily in R-Commander without knowing any of the command line features in R. This reduces the time considerably it takes to perform analyses

Before you get started, make sure you have downloaded the Chrome browser and set that as your default. (http://chrome.google.com ) Safari is quirky and while it may work, it very well may not.

How To Download R Commander For Mac Windows 10


Installing XQuartz

How To Download R Commander For Mac Os

The process for installing R-Commander on your Mac is pretty straightforward. If you are using MacOS 10.11 or higher you will first need to install XQuartz. XQuartz is the environment that R and R-Commander reside in on the Mac. If your OS is older than 10.11 you may already have XQuartz installed as part of the MacOS (but frankly you shouldn’t be running an OS that old). Go here:

After the package has downloaded, it will be in the lower left corner of your browser frame, you may click on it there or find it and click on it.

Just accept the defaults.

Agree to the license terms.

Then click “Install”.

Like all mac apps you will have to put in your MAC username and password. That is probably DIFFERENT than your VUNetID and ePassword.

It will take a while for the scripts to run and complete the install. Be patient; that “less than a minute” comment is not very serious.

You will be notified that the installation was successful.

Once you are told that, you will not need to install this again on this computer. You may be asked if you want to delete the installer pkg file. You may do so if you need the space. That will have no impact on the installed application, XQuartz.


Installing R

After successfully installing XQuartz, you will now go here and install R: (copy the URL below and paste into Chrome)

Click the download “R for (Mac) OS X”

How

Click the .pkg file circled below to download the file. The link to it will be placed in the lower left of your browser frame.

Click on the downloaded file in the lower left of the browser frame (in Chrome) and start the installation process. Just accept the defaults.

Click Continue

Click Continue

Agree to the license agreement.

Run the Install.

Again, put in your Apple username and password and click “Install Software”.

It will take a while to run the scripts so be patient. That one minute comment below is not to be taken very seriously.

You will be notified when the installation is successful. Click “Close”.


Installing R-Commander

Now we will launch R and from within R will install R-Commander. Go to your applications folder and Find R. The icon looks like this:

Notice the caret prompt that looks like a greater than sign. “>”

R Studio Download

At the prompt, type in (with NO spaces and all in lower case) install.packages()

You may copy/paste it from here.

You will now be asked to select a mirror site to download the package from.

Click in the window and scroll down (it helps if you have a mouse as opposed to the computer’s trackpad) to USA (CA 1) [https]. This is the Berkeley site and is generally the most current.

Now you will be given a list of packages you can install. There are literally hundreds of them. Scrolling here again works much better with an actual computer mouse.

Look for Rcmdr. There will be a number of Rcmdr plug-ins that follow but you are only interested in the first one. Select it and click “OK”.

You will see a lot downloaded the first time. It may take considerable time for this process to complete. When it is done you will see the caret prompt.

R-Commander has been downloaded and installed. You may be prompted to install additional packages that may not have come down in the most recent package. Go ahead and do that if asked.

How To Download R Commander For Mac


Starting R-Commander

At the prompt type in: library(Rcmdr) with no spaces. You may copy/paste from here. You will do this EVERY TIME you launch the application. The first time though, it may tell you that you need to download some required packages. Accept the defaults and download those packages. After those packages are downloaded and installed the first time, you will not be asked again to do so.

To launch R-Commander, first click on R in your applications menu, then from the caret prompt type in library(Rcmdr)

When you see this screen you are ready to run your statistics.

This concludes the installation of R-Commander. You will only have to repeat this process if you want to install all of this on a different computer.


Links on R-Commander

Here are some links to pdf files that explain how to use R-Commander

JSG:031618

Related Articles

  • Recording an Outbound Call from your Skype for Business Account
  • Installing R and R-Commander on WINDOWS
  • Installing R and R-Commander on the MacOS 10.11 and newer
  • Installing R and R-Commander on WINDOWS