EZ

Eduzan

Learning Hub

Eduzan
Eduzan / R (programming language)

Objects in R Programming

Computer Science / R (programming language) tutorial chapter - Published 2025-12-13 - R (programming language)

In R, everything is an object. This is one of the most important concepts to understand when learning R programming. Variables, data structures, functions, models, and even expressions are treated as objects stored in memory.

An object in R is a named container that holds data, attributes, and sometimes behavior.

Examples of objects:

  • Numeric values
  • Vectors
  • Matrices
  • Data frames
  • Lists
  • Functions
  • Models (like linear regression results)

End of lesson.