Re: [R] how to specify modes of certain fields in read.table

2008-02-12 Thread jim holtman
If you want to use colClasses, then do: read.table(, colClasses=rep('numeric', 50)) On Feb 12, 2008 5:40 PM, Weidong Gu <[EMAIL PROTECTED]> wrote: > I have a data file with 50 columns. Among them, there are two > coordinates, X and Y > > X > > Y > > 641673.78807 > > 3607080.78438 > > 641436.

Re: [R] how to specify modes of certain fields in read.table

2008-02-12 Thread jim holtman
It is just printing them out with that significance; the numbers are stored with about 15 digits. If you want more, use 'options': > x <- scan(textConnection("641673.78807 + + 3607080.78438 + + 641436.56207 + + 3607108.30543 + + 641165.28042 + + 3607136.82957 + + 640879.58373 + + 3607116.20568 +