Installing R
These R statistics tutorials briefly explain the use and interpretation of standard statistical analysis techniques for Medical, Pharmaceutical, Clinical Trials, Marketing or Scientific Research. The examples include how-to instructions for R Software. Although there are millions of R users around the world, there is a substantial learning curve involved in mastering the program.These tutorials are an introduction to using R statistical software that could be used in an applied statistics course or as your own self-paced tutorial.
If you have suggestions, or if you encounter errors in any of these tutorials, please contact us.
See www.stattutorials.com/RDATA for files mentioned in these tutorials, © TexaSoft, 2007-11. All rights reserved.
Installing R
This example shows how to install R for Windows, but it is similar for the Mac, Linux (and notes for these follow this discussion)
Step 1. Download the R installation program from the following link
http://cran.r-project.org/bin/windows/base/
The following information is displayed:
Download R 2.13.1 for Windows (39 megabytes, 32/64 bit)
- Installation and other instructions
- New features in this version: Windows specific, all platforms.
Click on the Download R link to begin the download. Depending on your browser, you will either Run or Save the install program.
- For example in Firefox, you see the following dialog box. Click Save file. The save file is downloaded and the name is displayed, click on the filename to start the install. Go to Step 2.
- For Chrome, a box appears at the lower left of your screen. Click on the down arrow, then Open. Go to Step 2.
- For Internet Explorer, go directly to Step 2.
Step 2. The following dialog box is displayed:
Follow the instructions on the screen. We recommend that you accept all defaults during the installation. Typically, the program is saved in the folder
C:\Program Files\R\R-2.13.1
And an R icon is placed on your desktop.
Step 3: To begin R, click on the R icon.
To install R on the Mac, go to
http://cran.r-project.org/bin/macosx/To install R on a Linux machine, go to
http://www.stat.umn.edu/HELP/r.html#down-tux- End of Tutorial -
(c) Alan C. Elliott, 2011





