I have a large ffdf
data frame saved to disk that I need to load into a fresh R
session. When I run load.ffdf
in the directory where the file is located, I get the following error message:
load.ffdf("./ffdb")
# Error in `filename<-.ff`(`*tmp*`, value = "./custTrans$custKey.ff") :
# ff file rename from './custTrans$custKey.ff' to
# 'mylocation'/ffdb/custTrans$custKey.ff' failed
I really want to read these files. Is there a way to encourage them to be read? Is there some way to read the individual ff
column-files directly? What format are they in? Perhaps I can place them manually in the temporary location that the underlying ff
package uses?
I've had a look through the save.ffdf
and load.ffdf
functions, but that hasn't given me any easy fixes.
Backgroud: I originally saved the data frame custTrans
to the default ./ffdb
directory. I actually wanted them in directory ./custTrans
, so I used move.ffdf
to move the files. The column files were moved, but not the .RData
and .Rprofile
files. I have tried to load the data from ./ffdb
directory and also copied the .RData
and .Rprofile
files to the ./custTrans
directory and run load.ffdf
there. I have also tried to move the data files back to the ./ffdb
directory. The error message is the same.