I have a large data.table (let's call it DT) in R which takes too long to save as csv (would be great to have a fast writer similar to fread). Therefore I am converting the data.table to a ffdf object:
library(data.table)
library(ffbase)
ffiles <- as.ffdf(DT)
This works and I can see the object. Also when transforming ffiles to a data.frame, by doing
DF <- as.data.frame (ffiles)
.. I see the flat files being opened and loaded. However, if I try to save the ffiles, by doing
save.ffdf(ffiles,dir=path-to-folder, overwrite=TRUE)
I get the error: NA were not saved, because not found
What could cause this?
BTW: I have set fftempdir as options before.
PS: could someone create a "ff" or "ffbase" tag? Don't have enough reputation:-/