# Statistical Analysis and Computing using R

 You are visitor number since 19 August 2003

## The R Statistical Programming Language

The R Project for statistical Computing website

Current versions for

• Alpha Unix (OSF/Tru64)
• Linux
• MacOS (System 8.6 to 9.1 and MacOS X)
• MacOS X (Darwin/X11)
• Windows (95 and later) Alpha Unix (OSF/Tru64)

## Learning and Using R

Crawley's Statistical Computing Book

An outstanding introduction to R is Michael Crawley's book Statistical Computing

• Extra chapters from Crawley posted only on his website
1. Chapter 31 GLMs with Gamma Errors (pdf file)
2. Chapter 34 Generalised Additive Models (pdf file)
3. Chapter 40 Multivariate Statistics (pdf file)
• Executable code (copy and paste instead of typing them from the keyboard) --- zip file of 36 small text files
• Crawley data (copy and paste instead of typing them from the keyboard) --- zip file of 36 small text files

An Introduction of R (Walsh notes)

1. Chi-square and Fisher's exact test in R (1 page pdf file). [ posted 19 August 2003 ]
2. R as a basic statistical calculator for obtaining p values and plotting probability distributions (6 page pdf file). [ posted 28 Dec. 2001 ]
3. Power Calculations in R (4 page pdf file). [ posted 18 Jan 2002 ]
4. Matrix Calculations in R (3 page pdf file). [ posted 14 Feb 2002 ]

pdf files of The official R Manuals

• An Introduction to R (approx. 100 pages, 650kB), based on the former "Notes on R", gives an introduction to the language and how to use R for doing statistical analysis and graphics.
• Quick reference card (1 page, 60kB)
• A draft of the R language definition (approx. 60 pages, 380kB) which document the language per se. That is, the objects that it works on, and the details of the expression evaluation process, which are useful to know when programming R functions.
• Writing R Extensions (approx. 70 pages, 450kB) covers how to create your own packages, write R help files, and the foreign language (C, C++, Fortran, ...) interfaces.
• R Data Import/Export (approx. 30 pages, 270kB) describes the import and export facilities available either in R itself or via packages which are available from CRAN.
• R Installation and Administration (approx. 30 pages, 200kB)
• The R Reference Index (approx. 2145 pages, 10.5MB) contains all help files of the R base packages in printable form.

## Various R codes

• Executable code for all of the examples in Crawley's book (you can copy and paste instead of typing them from the keyboard) --- zip file of 36 small text files
• slopes.s: Alternative regression models in R (from the Enquist lab). nb. This is listed as S+, but this is alos R code.
• The slopes.s code. (from Andrew P. Allen at the University of New Mexico)