car: The Companion to Applied Regression Libary

An R and S-PLUS Companion to Applied Regression

John Fox


The car library is available in the form of an R package, S3 library, and S4 library.

R version of car

The current version of the car package for R is available on the CRAN (Comprehensive R Archive Network) web site. The help files for car (which are part of the package) may also be viewed on CRAN. With an active Internet connection, entering the command install.packages("car", dependencies=TRUE) in R will install the package. (You'll be asked to select a CRAN mirror; pick one near you.) Depending upon your operating system, there may be an even easier way to install packages; for example, under Windows, you can use the Packages > Install package(s) menu (although this will not install all dependencies).


S3 version of car

An older version of the car library is available as a zip file for S-PLUS 2000 for Windows , and as a tar-gzip archive with the program (.q) and documentation (.d) files necessary to build the library. I have stopped development of the car library for S-PLUS.

To install the car library section in S-PLUS 2000 for Windows, you must unzip it into the S-PLUS library directory, which in a standard installation is located at C:\Program Files\sp2000\library. You will then have a car subdirectory within the library directory.


S4 version of car

An older version of the car library is available as a zip file for S-PLUS 6 or 7 for Windows , and as a tar-gzip archive with the program (.q) and documentation (.d) files necessary to build the library. I have stopped development of the car library for S-PLUS.

To install the car library section in S-PLUS 6 or 7 for Windows, you must unzip it into the S-PLUS library directory, which in a standard installation is located (e.g.) at C:\Program Files\Insightful\splus70\library. You will then have a car subdirectory within the library directory.


Last modified: 3 Februrary 2009 by John Fox < jfox AT mcmaster.ca >