Installing R: ------------- Installation varies by system and the instructions below are primarily for Windows platforms. You should be able to figure out how to get it done for your computer. If you have trouble, look up the following URL: http://cran.r-project.org/doc/manuals/R-admin.pdf 1. Go to http://www.r-project.org/ 2. Choose a download mirror: (e.g.) http://probability.ca/cran/ 3. Choose "base" directory 4. Select the latest version (currently 2.9.2) 5. Choose installation options 6. Install R 7. Start R and read manuals from the pulldown menu on top 8. If you want a short intro, try http://www.isds.duke.edu/programs/gcc/ResourcesDocuments/RTutorial.pdf Unfortunately, I find this more useful as a quick summary than as an introductory tutorial. Using R on departmental servers: -------------------------------- R is installed on the departmental servers. Do not install R in your home directory. In order to use R, carry out the following steps. 1. At the end of .cshrc file in your root directory, add source /cs/local/packages/R/share/cshrc.r [It is a good idea to read Section 6.3 of http://cran.r-project.org/doc/manuals/R-admin.pdf] 2. To install libraries without superuser/admin privileges, you need to create a local copy of the library. To do this, instead of typing "library('e1071')" [e1071 is a library I use], use "library('e1071',lib.loc='~/myRlib')" [myRlib is the name of my local R library directory]