There are a variety of different “built-in-data types” in R Programming such as:
- Atomic classes: numeric, logical, character, integer, complex.
- Vectors, lists.
- Missing values.
- Data frames and matrices.
All R objects can have attributes that help to describe what is in the object. Perhaps the most useful attributes are names, such as column and row names in a data frame, or simply names in a vector or list. Attributes like dimensions are also important as they can modify the behaviour of objects, like turning a vector into a matrix.