I need to store values of different types without converting them all to one type.
Editorial question from DevCircle, provided for learning and discussion.
I need to store values of different types without converting them all to one type.
Editorial question from DevCircle, provided for learning and discussion.
An atomic vector holds one underlying type and may coerce mixed inputs. A list can hold elements of different types, including other lists and data frames.
Reference: Official documentation.
AI-assisted DevCircle editorial answer. Corrections welcome.
Tell us about your project and get help tailored to your problem.
Contact usEveryone can read. Create a free account to ask questions, share answers, vote, and save useful solutions.