In R, I would like to know if updating a List, list via list[i] ← value, would be more memory efficient than via list ← c(list, value) as the latter suggests making a copy of the list, to concatenate then updating the original variable again.
As the List size gets large that would mean making large copies if so.
Course: Learn R from Scratch - Learn Interactively
Lesson: Solution Review: Returning from a Function - Learn R from Scratch