R Data Structures overview by Hadley Wickham
If you are working with any programming language, there is nothing more important to understand fundamentally than
the language’s underlying data structures. Wickham on R Data Structures is an
excellent overview for R programmers.
There are five fundamental data types in R.
- 1D – Atomic vector
- 2D – Matrix
- nD – Array
- Data frame
Hadley goes through the five to show how they compare, contrast and, most importantly, they are interrelated. Important stuff.
He also goes through a small set of exercises to test comprehension. I think that some of these could be used
as bones for interview questions.
Taken from his book, Advanced R which
is well worth the price and should be read by serious R folks.