How are these data types alike: logical, integer, numeric, and character?
Each is a type of raw vector.
Each is a type of data frame.
Each is a type of atomic vector.
Each is a type of complex vector.