On Sat, Mar 31, 2012 at 9:05 AM, Bond, Stephen <stephen.b...@cibc.com> wrote: > Greetings useRs, > > Can anyone provide an example how to use ff to feed a very large data frame > to glm? > The data.frame cannot be loaded in R using conventional read.csv as it is too > big. > > glm(...,data=ff.file) ?? >
I shouldn't think glm() will work on data that are too big to read into R. However, bigglm() from the biglm package should work. You just need to write a function that supplies chunks of data from ff.file as requested (see the example on ?bigglm). I haven't used ff, but it looks from the documentation as though chunk() will do all the difficult parts. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland ______________________________________________ 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.