Setting Up With R

If you wish to try out the code examples that are also given in R at the bottom of book pages, you will need to install R on your computer. You can download R from one of the R mirrors in your country.

If you are using Ubuntu you can easily install R with this command from the terminal:

sudo apt-get update

sudo apt-get install r-base

If you are using Red Hat Enterprise Linux or CentOS, you can issue the following command at the terminal while logged in as root.

yum install R

If you need additional instructions, you can follow the official R admin manual as seen here below

R Manual Install from R project Home page

To install on a Mac, Homebrew is a very capable package manager. Just issue this at Terminal's command line

brew tap homebrew/science
brew install Caskroom/cask/xquartz
brew install r

It is preferred not to use the sudo command for Homebrew.

For Windows, just download the executable from any of the R mirrors mentioned above. It's best to pick a mirror close by.

You can always check that your download is not corrupt by using md5 checksums.

R Code
To install R, please see the above description. To download R Studio, visit the R Studio download page. There you can find install files for all the major operating systems including Windows, Mac, and Linux. If you're not familiar with R Studio, the software is a graphical user interface for R that comes with a commercial license. R Studio is also bundled with the open source GNU Affero public license. Many newcomers to R will appreciate R Studio.
SAS Code

To install SAS University Edition, please see this write-up on Quadstat:

From Around the Site...

Title Authored on Content type
R Dataset / Package Stat2Data / Overdrawn March 9, 2018 - 1:06 PM Dataset
R Dataset / Package boot / aircondit7 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package wooldridge / hprice2 March 9, 2018 - 1:06 PM Dataset
Unskilled Dataset March 23, 2018 - 5:55 PM Dataset
R Dataset / Package Stat2Data / ChildSpeaks March 9, 2018 - 1:06 PM Dataset