Installing R Packages

Suppose you are having trouble installing an R package, say R's Design package. Try this. Download the file /tmp/Design_2.1-2.tar.gz to the /tmp/ directory. Then, in a unix shell window, try sudo R CMD INSTALL /tmp/Design_2.1-2.tar.gz. Once you've done that, get back into R and use the library function: library(Design).