Re: [R] reading and analyzing a text file

2008-05-18 Thread Philipp Pagel
> ATF 1.0 > 205 > "Type=Mapix Results 2" > "DateTime=2008/05/15 11:05:38" > "ConfigFile=" > "GalFile=Y:\experimental\090508\_v1.0.gal" > "PixelSize=20" > "Wavelengths=635 532" > "ImageFiles=Y:\May_2008\B_1.0_090508\Images\B_1.0_090508_50.tif" > "RatioFormulations=W1/W2 (635/532)" > "Fe

Re: [R] reading and analyzing a text file

2008-05-16 Thread DAVID ARTETA GARCIA
here I show the first text lines and some of the data. There are actually 6272 rows in the dataframe. Actually the skip parameter works fine as some people already suggested. ATF 1.0 20 5 "Type=Mapix Results 2" "DateTime=2008/05/15 11:05:38" "ConfigFile=" "GalFile=Y:\experimental\090

Re: [R] reading and analyzing a text file

2008-05-16 Thread Prof Brian Ripley
1) read.table has a 'skip' argument which may suffice. 2) R has the concept of 'connections' to read sequentially through a file. See the 'R Data Import/Export' manual. If that is not enough hints, showing us an example usually intrigues people enough to offer working code. On Fri, 16 May 2

Re: [R] reading and analyzing a text file

2008-05-16 Thread Doran, Harold
This may be possible using the skip argument in read.table. It's hard to know w/o a bit more info on the structure of the text file. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of DAVID ARTETA GARCIA > Sent: Friday, May 16, 2008 10:31 AM > To: r-

Re: [R] reading and analyzing a text file

2008-05-16 Thread Erin Hodgess
Hi David! if you use read.table, there is an argument called skip. You can set that to skip=20, say. HTH, Erin On Fri, May 16, 2008 at 9:30 AM, DAVID ARTETA GARCIA <[EMAIL PROTECTED]> wrote: > Dear list, > > I have a text file from a scanner that includes 20 lines of text (scanner > settings)