The str() function will display the internal data structure of an R object (such as a data frame). It will return information about the rows (observations) and columns (variables) along with extra information like the names of the columns, class of each column, followed by some of the initial observations of each of the columns.
Example:
# Get information about the structure of MindsetMatters
str( MindsetMatters )
Example output: