Large data structures in R