I've noticed that ff uses the unzip utility available on it's host OS to load datasets via ffload. It seems to work fine in linux, but when I try to use the package in Windows (hence dling Windows unzip utils) I get 2 errors, one telling me that the options aren't being passed to unzip correctly and another indicating that my filename is incorrect. First, does anyone know of an unzip utility that works with ff or am I doing something wrong there? Second, why does ff seem to add .Rdata and .ffData when looking for files but adds no extension when saving them? Code below...
library('ff') ffcolTest = ff(c(1:500), vmode = "integer", length = 500, filename = <some folder>\\ffTest') quit() library('ff') ffload("<same path as above>") Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection In addition: Warning messages: 1: running command 'unzip -Z -1 "<myfile>.ffData"' had status 9 2: In readChar(con, 5L, useBytes = TRUE) : cannot open compressed file '<myfile>.RData', probable reason 'No such file or directory' What am I doing wrong here? I have data sets of about 50MM rows and 50 columns and I really don't want to use SAS. Is ff the package that suits me best or should I consider another package? Thanks for your time. Dave Mitchell [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.