# numeric
x <- 10.5
class(x)
# integer
x <- 1000L
# complex
x <- 9i + 3
# character/string
x <- "R is exciting"
# logical
x <- TRUE