Is `<-` also for data.frames using call by reference sometimes?
I have a simple problem that I wanted to solve using data.table. I was surprised about the following behaviour, as I thought, asignements in base R are always copying: library(data.table) df <- data.frame( t = 1:10, x = "x", y = "y" ) df$z <- df$y # I was assuming this is a full blown… Read More Is `<-` also for data.frames using call by reference sometimes?