School of Statistics

Image of Goldy Gopher and link to School of Statistics

Wordmark of and link to University of Minnesota
Applied Linear Regression, 3rd Ed.
Installing the R package under Linux

We recommend that a system administrator install the alr3 package for all users on your system.

If you, or your system administrator, have administrator privileges, start R, and type

> install.packages("alr3")

If you see "Delete downloaded files (y/N)?", type y, and then press the enter key. The package is now installed for everyone to use. You can get instructions to use the package.

If you don't have administrator privileges, you can install the package for private use. We recommend that you create a directory called "RWork". Create a second directory inside your "RWork" directory called "Rlibraries". Change to the "RWork" directory, and start R. Type the command

> install.packages("alr3",lib="Rlibraries")

When you see "Delete downloaded files (y/N)?", type y, and then press the enter key. The package is now installed. If you want to install other packages, such as the car package discussed in the primer, you can install these packages in "Rlibraries". You can get instructions to use the package.