To install in Linux, sign on to R, and type: install.packages("ei",repos="http://r.iq.harvard.edu") or download the file below and install yourself. To install on Mac or Windows, sign on to R and type: install.packages("ei", type="source", repos="http://r.iq.harvard.edu").

Note: to install locally on Windows, download the file below. Enter the R GUI and change your working directory using setwd() to the directory where the file is located. Then, use the command: install.packages("ei", type="source", repos=NULL).

For documentation, from R, type library(ei), and then ?ei, or download ei.pdf.