?file - how to use connections ?read.table 'skip' parameter, colClasses to only read columns you want
That is not a large file. Read the whole thing in and then extract the data you need. On Tue, Nov 23, 2010 at 6:05 AM, fbielejec <fbiele...@gmail.com> wrote: > Dear, > > I'm doing analysis where I need to work on relatively large (50-60 MB) > text files, though I'm really interested only in parts with binary > variables (named indicators1, indicators2, ... etc.) > > Every text file contains other numeric columns, but not always the same > and not always in the same order - therefore I would rather need a > method connecting to file and reading only colums with respect to name > pattern (ie indicators + number). That should speed things up (now I > have to clean data by hand) but also leave less memory footprint. Could > You point me towards sth? > > ______________________________________________ > 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. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ 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.