What are the main differences between vector and list data types in R? What are the advantages or disadvantages of using (or not) these two data types?

I would appreciate seeing examples that demonstrate the use cases of the data types.

Edit
Report