In describing to statisticians some of the differences in approach between R and Julia programming I have used as examples the evaluation of the reference distribution for randomization tests comparing means for paired designs and for unpaired designs. The documents are
http://rpubs.com/dmbates/15250 and http://nbviewer.ipython.org/gist/dmbates/9746197
