Background
I tried to replace some CSV output files with rds files to improve efficiency. These are intermediate files that wi
CSV
rds
The solution is to use setDT after load or readRDS
setDT
load
readRDS
aDT2 <- readRDS("aDT2.RData") setDT(aDT2)
source: Adding new columns to a data.table by-reference within a function not always working