\documentclass{article} \usepackage{noweb} \begin{document} For example, plotting 20 pairs of $N(0,1)$ random variates can be looked at via the two following chunks. <>= ;; -*- mode: xlispstat -*- (def test (normal-rand 20)) (def test2 (normal-rand 20)) (plot test test2) @ The below code demonstrates that there isn't much difference between Lisp and the S language (as implemented through the dialect, R). <>= ## -*- mode: R -*- test <- rnorm(20) test2 <- rnorm(20) plot(test,test2) @ Finally, we could show how to do this in Stata or SAS, as follows: <>= gen test = normal(20) gen test2 = normal(20) plot test,test2 @ \end{document}