concept Lists in category R
appears as: Lists

This is an excerpt from Manning's book R in Action, Second Edition: Data analysis and graphics with R.
Lists are collections of atomic vectors and/or other lists. Data frames are a special type of list, where each atomic vector in the collection has the same length. Consider the iris data frame that comes with the base R installation. It describes four physical measures taken on each of 150 plants, along with their species (setosa, versicolor, or virginica):