Re: [R] read.table with double precision

2011-11-17 Thread Sarah Goslee
Hi, On Thu, Nov 17, 2011 at 11:49 AM, Alaios wrote: > Dear all I have a txt file with the following contents > 1 50.790643000 6.063498 > 2 50.790738000 6.063471 > 3 50.791081000 6.063380 > 4 50.791189000 6.063552 > > > I am usind read.table('myfile.

Re: [R] read.table with double precision

2011-11-17 Thread R. Michael Weylandt
I'm having trouble replicating/understanding why that would happen since I do it all the time. The only thing that raises a hint of suspicion is using the blank space separator , but I'm pretty sure that's fine What does str() give? Possibly factors? If you are sure that's happening as describ

[R] read.table with double precision

2011-11-17 Thread Alaios
Dear all I have a txt file with the following contents 1 50.790643000 6.063498 2 50.790738000 6.063471 3 50.791081000 6.063380 4 50.791189000 6.063552 I am usind read.table('myfile.txt',sep=" ") which unfortunately returns only integers and not dou