The data function is used both to load data sets from packages,
and give a display of the names and titles of data sets in one or more packages,
however it does not return a result that can be easily used to get additional
information about the nature of data sets in packages.
The datasets() function is designed to produce a more useful summary
display of data sets in one or more packages. It extracts the class
and dimension information (dim or code{length}) of each item,
and formats these to provide additional descriptors.