installing R

M243
Installing R
1. Download R Go to http://cran.r-project.org/ and choose the platform on which you will be using R.
These instructions will assume the Windows version. You should be able to figure out the Mac or Unix
instructions.
After selecting your platform, select the base distribution.
Download the program.
2. Run the program that you have downloaded to install R.
M243
Installing R
You will have many choices. You can ignore them all and simply keep clicking next and you will get a
reasonable installation of R. However I have found it useful (but not necessary) to make one change in the
standard installation. At some point it will ask you if want to customize the setup. If you say yes, you should
then accept all the choices made for you except that you should choose ”plain text help” rather than ”HTML
help”. It will be obvious when you have this choice to make.
3. To run R, click on the R icon on the desktop. You should see
4. To install packages unique to this course. Get the zip file for the package at the course website. Save it to your
computer. Choose ”install packages from local zip file” from the ”packages” menu.
5. Some functions useful for this course are stored in a file (that is often updated) on the course website. Use
> source(’http://www.calvin.edu/~stob/courses/m243/S10/M243.R’)
to load these functions. Two such functions are
> get243()
> DVB()
which get course datafiles.