# R Statistics

back to stats portal |

**R** is a free software for statistical analysis and graphics.

It runs on various UNIX platforms, Windows, and MacOS.

The latest version 2.4.1 was released on 2006-12-18, rated 4.3 out of 5[1].

Since 1997 an international core team of about 15 people develops R.

## Contents

## What is R?

R is widely used for statistical software development and data analysis, and has become a de-facto standard among statisticians for the development of statistical software. R's source code is freely available under the GNU General Public License, and pre-compiled binary versions are provided for Microsoft Windows, Mac OS X, and several Linux and other Unix-like operating systems. R uses a command line interface, though several graphical user interfaces are available. wikipedia entry on R

### Features

"R has many functions for statistical analyses and graphics; the latter are visualized immediately in their own window and can be saved in various formats (jpg, png, bmp, ps, pdf, emf, pictex, xfig; the available formats may depend on the operating system). The results from a statistical analysis are displayed on the screen, some intermediate results (P-values, regression coefficients, residuals,...) can be saved, written in a file, or used in subsequent analyses.

The R language allows the user, for instance, to program loops to successively analyse several data sets. It is also possible to combine in a single program different statistical functions to perform more complex analyses. The R users may benefit from a large number of programs written for S and available on the internet, most of these programs can be used directly with R.

At first, R could seem too complex for a non-specialist. This may not be true actually. In fact, a prominent feature of R is its flexibility."

R for Beginners, Emmanuel Paradis, p5/6

### History

R was originally created by Ross Ihaka and Robert Gentleman (hence the name R) at the University of Auckland, New Zealand, and is now developed by the R Development Core Team. R is considered by its developers to be an implementation of the S programming language, with semantics derived from Scheme.

## Install R

- choose a download mirror: list of mirror sites for R download
- download the right package for you (Linux/Windows/Mac)
- install the package following the OS-specific instructions

## Use R

To use R you will have to learn some R commands (see screenshot), i.e. it's not fully menu based like most Windows and Mac software. This might seem tedious but you will soon realise that while slowing you down initially it will speed up your work and make it better after an initial learning period.

There is a lot of free documentation available. Shorter manuals are first in the list:

- Friendly Beginners' R Course by Toby Marthews, ZIP archive containing examples & 12 page PDF
- short introduction to R by Jim Lemon, HTML v1.6
- R for beginners by Emmanuel Paradis, PDF 76 pages
- R tutorial from Biology Fac, University of Alaska Fairbanks, HTML
- R tutorial from Maths, Union College, NY - very clear layout, HTML
- R tutorial by Vincent Zoonekynd, Maths, Université P.M. Curie, France, HTML

- Official R project manual, also available as PDF

You can find the complete listings on the R project webpage: manuals, contributed manuals.

## Publications

## Examples for commonly used statistics

## Bioconductor & Microarray data Analysis

## Links

- home of the R project: manuals, FAQs, download,..
- R on the wikipedia
- R (Mac build) on versiontracker