R has several main data types including vectors, lists, matrices, data frames, and factors. Vectors store elements of the same type and can contain integers, numbers, characters, or logicals. Lists are similar to vectors but can contain elements of different types. Matrices arrange data into a two-dimensional rectangular layout. Data frames store data tables with each column as a vector and rows containing the data. Factors represent categorical variables that can only take on a predefined set of values.