+ 1
[[1]]*3 copies three times, yielding [[1],[1],[1]] However, these copies all point to the same address in memory. Therefore appending something on one of those, will change every copy.
2nd Jul 2018, 2:36 PM
Matthias
Matthias - avatar