Does anybody know why the object 'r' presented in the image below is copied when its third entry is modified?
I only ask because recently I have been reading through Hadley Wickham's (fantastic) book Advanced R and he seemed to suggest in section 2.5 that objects will be modified in place if they only have one reference assigned to them. Is this not the case in the example I have constructed above?
Many thanks in advance.