Using R's goodness-of-fit tests in iPython Notebook

SA421 Fall 2014

Setup

Some additional items need to be first installed on the SA421 virtual machine in order for this to work:

  1. Open UXTerm.
  2. In the UXTerm window, install rpy2 by typing sudo pip install rpy2 at the prompt. Use simulation when prompted for a password.
  3. In the UXTerm window, install singledispatch by typing sudo pip install singledispatch at the prompt.
  4. Run R in the UXTerm window by typing sudo R at the prompt.
  5. Install the fitdistrplus package in R by typing install.packages("fitdistrplus") at the prompt. A dialog window will appear with a list of mirrors. Choose any one.
  6. Quit R by typing quit() at the R prompt. Close the UXTerm window.

You should now be ready to run R and its goodness-of-fit tests in iPython Notebook.

R's goodness-of-fit tests in iPython Notebook