On 8 September 2010 at 13:26, André de Boer wrote: | I searched the internet but i didn't find the answer for the next problem: | I want to do a glm on a csv file consisting of 25 columns and 4 mln rows. | Not all the columns are relevant. My problem is to read the data into R. | Manipulate the data and then do a glm. | | I've tried with: | | dd<-scan("myfile.csv",colClasses=classes) | dat<-as.data.frame(dd) | | My question is: what is the right way to do is? | Can someone give me a hint?
Look at the biglm package by Thomas Lumley which will allow you to fit glm models in "chunks". Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com ______________________________________________ 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.