6.2 Objects in R

So far, we used the R console interactively, and received the answers from R in the console.

Data/output of commands can also be stored in objects.

Everything that stores any kind of data in R is an object:

rstudio logo

When data is stored in objects, it can easily be reused.