how to know the data type of an object in R code example Example: check type of column in r #in R sapply(my.data, class)