The R type system
digitheadslabnotebook.blogspot.com
digitheadslabnotebook.blogspot.com
As an aside; while R is a neat tool and pretty powerful in many ways, there's a phrase in the documentation which makes it really clear that it wasn't written by computer scientists: the authors claim that R is 'the same language' as S because it has the same syntax, but it has 'a different engine', by which they mean that it has different semantics...