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". A PDF version of the introduction is here. The sample session is a good place to start if you're in a hurry to see what R can do. Or for up-to-date information and downloads, see the Main R Site.

R is a project under development in alpha release 2.6.1 (October, 2007). The original authors' (Ross Ihaka and Robert Gentlemen) purpose was to create an S-like language with the ability to handle loops better than S or Splus. Interest in R has skyrocketed in the last few years, and now a large group of people are contributing to the project.

It runs on our Sun workstations, just type R, but you need /opt/local/bin in your path.

R and SPLUS are both versions of the S computing language. 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.

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 hosted by the stat department at University of Wisconsin, Madison. They even put out a newsletter now: R Newsletter.

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 200 packages available (well, not all have a windows version).

R within Emacs on 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: