R (and its predecessor S) is so great, thank you for writing and sharing this!<p>In a way, R is very similar to APL and J in that many operations automatically scale from scalars to vectors, and you can therefore conveniently express applications of operations to many elements at once. In fact, even its assignment operator is chosen to syntactically resemble that of APL:<p><a href="https://blog.revolutionanalytics.com/2008/12/use-equals-or-arrow-for-assignment.html" rel="nofollow">https://blog.revolutionanalytics.com/2008/12/use-equals-or-a...</a><p>Regarding the quote:<p><i>"All statistical models and tests have underlying mathematical assumptions on the types of conditions upon we can generate reliable results (Hoekstra et al., 2012)."</i><p>Indeed! There is hence also a very close connection between statistics and logic.