R supports multiple paradigms, including functional and object-oriented programming. Every object in R has a class. Functions in R then operate on objects of particular classes.