Some additional items need to be first installed on the SA421 virtual machine in order for this to work:
sudo pip install rpy2at the prompt. Use
simulationwhen prompted for a password.
sudo pip install singledispatchat the prompt.
sudo Rat the prompt.
fitdistrpluspackage in R by typing
install.packages("fitdistrplus")at the prompt. A dialog window will appear with a list of mirrors. Choose any one.
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.
fitdistrpluspackage can be found here.