R

R is a freeware statistical analysis program. First released as a "toy" package in 1995, it has become a leading stat package because of the improvements which are continually being contributed by statisticians world-wide. For home use, download it from Main R Site. For a tutorial, start R, (just type "R" on our Sun machines, or click the R icon in Windows) then type "help.start()" (or use the Help menu in Windows) and when the browser window opens, choose "Introduction to R". The sample session is a good place to start if you're in a hurry to see what R can do.
For up-to-date information and documentation, see the Main R Site.
You might also like R Programming WikiBook.

The original authors (Ross Ihaka and Robert Gentlemen) wanted to create an S-like language with the ability to handle loops and memory better than S or Splus. It started as a primitive language in 1996, and has grown exponentially since it it became an international project in 1997. Locally, it runs on our Sun workstations, just type R in a terminal window.

The reference manual for R is easily accessed with the help.start() command. R has some functions not available in SPLUS, for instance, dataentry() command opens a spreadsheet for data input. A few functions use different arguments, but most code works in either flavor of S.

Distribution and resources:

To get your own copy of R, documentation, and/or addons, or to find out about mailing lists, visit the Main R Site. Note the documentation links on the bottom left. We now have The R Journal.

Packages

R stores the current session (objects like data and functions) in memory. To keep memory usage small, it relies on packages which are objects which can be loaded when needed. The base package is always loaded, but other packages are only loaded when called, for example\ library(lattice) loads up a library of fancy plotting routines.

If you have a web connection and R for windows, packages can be downloaded with a few clicks under the packages menu, and you can easily update any or all of the packages you have installed. The windows distribution comes with 8 packages, but there are almost 2000 packages available (well, not all have a windows version).

R within Emacs on UNIX machines

On the unix machines, I strongly recommend running R from within the Emacs editor using ESS: Emacs Speaks Statistics, because it allows you to quickly revise and resubmit code. I use two windows running under one emacs session: