We're making good progress! What about mixing data types and storing both numbers and strings in one vector? It's not possible, as each vector must consist of elements that are of the same data type. There is a subtlety, though... if you try to mix data types in a vector, R will not complain. Instead, it will silently convert all values to a common data type. For example, the vector
salaries <- c(3100, "three thousand and four hundred", 2700)
will become a character vector. The numerical values (in this case, 3100 and 2700) will be automatically converted to the strings "3100" and "2700", respectively, by R. Thus, when you type
into your editor, you'll get the following output:
 "3100" "three thousand and four hundred" "2700"