Suppose I have a very large matrix that I read in and I want to transpose it in R. If I try to transpose it I get memory errors. Is there any library in R that allows you cache the original dataset? Would taking "chunks of data", transposing each dataset, and then appending it be an efficient approach?
data = fread("C:/Users/ee2/Desktop/Science/data.tsv")
data_t=data[, .N, by = list(A, V)]
Warning messages:
1:
Reached total allocation of 16274Mb: see help(memory.size)