Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open a command prompt
  2. Type R
    1. If this runs R, then exit with the command "q()" (no quotes) and skip step 3 below.
    2. If this doesn't run R (for most of you it won't), then do step 3 below.
  3. Add R binary folder to your system path with the following procedure:
    1. Find the R binary folder on your computer; this is the folder "bin" in your R directory. For me it was at "C:\Program Files\R\R-2.12.2\bin", but yours will probably be different depending on your R version number.
    2. Navigate to Computer
    3. Right click and select "Properties"
    4. Select "Advanced system settings"
    5. Select "Environment variables..."
    6. In the bottom section called "System variables", click on the line for the variable "Path" and click "Edit..."
    7. Go to the end of the variable, add a semicolon, and then the path to the R folder. Click "Ok" a few times to update the system variables.
    8. Close the command prompt you were using and open a new one.
    9. Go to step 2 again and repeat (it should work now, and if it doesn't bug John at josilber@mit.edu).
  4. Navigate to your Python folder's scripts folder, e.g. by running "cd C:/Python27/Scripts"
  5. Type easy_install pyper
  6. easy_install will download and install PypeR to your computer

Don't forget to test your installation.