[Solved] Memory issues in-memory dataframe. Best approach to write output?
I have been using the following snippet: library(data.table) filepaths <- list.files(dir) resultFilename <- “” for (i in 1:length(filepaths)) { content <- fread(filepaths, header = FALSE, sep = “,”) ### some manipulation for the content results <- content[1] fwrite(results, resultFilename, col.names…