Functional Data Structures In R