The R Project for Statistical Computing Getting Started. R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS. To download R, please choose your preferred CRAN mirror. Installing R on Mac OS is similar to Windows. Once again, The easiest way is to install it through CRAN by going to the CRAN downloads page and following the links as shown in the video below: The next step is to click on the 'R-3.6.2.pkg' (or newer version) file to begin the installation. This directory contains binaries for a base distribution and packages to run on Mac OS X (release 10.6 and above). Mac OS 8.6 to 9.2 (and Mac OS X 10.1) are no longer supported but you can find the last supported release of R for these systems (which is R 1.7.1) here.
To Install R
- Open an internet browser and go to www.r-project.org.
- Click the 'download R' link in the middle of the page under 'Getting Started.'
- Select a CRAN location (a mirror site) and click the corresponding link.
- Click on the 'Download R for (Mac) OS X' link at the top of the page.
- Click on the file containing the latest version of R under 'Files.'
- Save the .pkg file, double-click it to open, and follow the installation instructions.
- Now that R is installed, you need to download and install RStudio.
To Install RStudio
- Go to www.rstudio.com and click on the 'Download RStudio' button.
- Click on 'Download RStudio Desktop.'
- Click on the version recommended for your system, or the latest Mac version, save the .dmg file on your computer, double-click it to open, and then drag and drop it to your applications folder.
To Install the SDSFoundations Package
- Download SDSFoundations to your desktop (make sure it has the '.tgz' extension).
- Open RStudio.
- Click on the Packages tab in the bottom right window.
- Click 'Install.'
- Select install from 'Package Archive File.'
- Select the SDSFoundations package file from your desktop.
- Click install. You are done! You can now delete the SDSpackage file from your desktop.
To Install R:
- Open an internet browser and go to www.r-project.org.
- Click the 'download R' link in the middle of the page under 'Getting Started.'
- Select a CRAN location (a mirror site) and click the corresponding link.
- Click on the 'Download R for Windows' link at the top of the page.
- Click on the 'install R for the first time' link at the top of the page.
- Click 'Download R for Windows' and save the executable file somewhere on your computer. Run the .exe file and follow the installation instructions.
- Now that R is installed, you need to download and install RStudio.
To Install RStudio
- Go to www.rstudio.com and click on the 'Download RStudio' button.
- Click on 'Download RStudio Desktop.'
- Click on the version recommended for your system, or the latest Windows version, and save the executable file. Run the .exe file and follow the installation instructions.
To Install the SDSFoundations Package
Cran R Download For Mac
- Download SDSFoundationsto your desktop (make sure it has the '.zip' extension).
- Open RStudio.
- Click on the Packages tab in the bottom right window.
- Click 'Install.'
- Select install from 'Package Archive File.'
- Select the SDSFoundations package file from your desktop.
- Click install. You are done! You can now delete the SDSpackage file from your desktop.