Re: [R] Partially reading a file (particularly)

2007-05-31 Thread Tobin, Jared
: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 10:46 AM To: Tobin, Jared Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Partially reading a file (particularly) Try this: con <- pipe("findstr /b 5 myfile.dat") open(con, "r") DF <- read.fwf(con, widt

Re: [R] Partially reading a file (particularly)

2007-05-31 Thread Gabor Grothendieck
ceans > [EMAIL PROTECTED] > > -Original Message----- > From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 29, 2007 10:51 PM > To: Charles C. Berry > Cc: Tobin, Jared; r-help@stat.math.ethz.ch > Subject: Re: [R] Pa

Re: [R] Partially reading a file (particularly)

2007-05-31 Thread Tobin, Jared
From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 10:51 PM To: Charles C. Berry Cc: Tobin, Jared; r-help@stat.math.ethz.ch Subject: Re: [R] Partially reading a file (particularly) On 5/29/07, Charles C. Berry <[EMAIL PROTECTED]> wrote: On windows XP we can

Re: [R] Partially reading a file (particularly)

2007-05-29 Thread Gabor Grothendieck
On 5/29/07, Charles C. Berry <[EMAIL PROTECTED]> wrote: > On Tue, 29 May 2007, Tobin, Jared wrote: > > > Hello, > > > > I am trying to figure out if there exists some R command that allows one > > to be > > particularly selective when reading a file. I'm dealing with large > > fixed-width data > >

Re: [R] Partially reading a file (particularly)

2007-05-29 Thread Charles C. Berry
On Tue, 29 May 2007, Tobin, Jared wrote: > Hello, > > I am trying to figure out if there exists some R command that allows one > to be > particularly selective when reading a file. I'm dealing with large > fixed-width data > sets that look like > > 539001.. > 639001.. > 639001.. > ... > 539002..

[R] Partially reading a file (particularly)

2007-05-29 Thread Tobin, Jared
Hello, I am trying to figure out if there exists some R command that allows one to be particularly selective when reading a file. I'm dealing with large fixed-width data sets that look like 539001.. 639001.. 639001.. ... 539002.. 639002.. ... Presently, I am using read.fwf to read an entire fi