Re: [R] Read text file subsetting rows

2008-04-11 Thread Zev Ross
Chuck, Thanks so much, these both work like a charm. The first method, though, is very, very slow for a large dataset (<100,000) while the second is reasonable in terms of speed. If you or anyone have any ideas for speeding up the import send them my way otherwise the: con2 <- pipe( 'grep "^RD

Re: [R] Read text file subsetting rows

2008-04-11 Thread Charles C. Berry
On Fri, 11 Apr 2008, Zev Ross wrote: > Hi All, > > Can anyone direct me to a read function in R that will allow me to only > read in rows of a text file that begin with a particular value such as > the data below. I would read the entire file in and then limit, but the > files were constructed suc