Re: [R] Loss of precision in read.csv.

2010-10-09 Thread Joshua Wiley
On Sat, Oct 9, 2010 at 2:38 PM, Joshua Wiley wrote: > Hi Steven, > > As near as I can tell, no precision is lost.  R is just being > courteous and not excessively filling our consoles.  Try: > > print(airports[1,"latitude_deg"], digits = 22) > > which is the most digits R will print (although inte

Re: [R] Loss of precision in read.csv.

2010-10-09 Thread steven mosher
Ha Thanks, That was it. On Sat, Oct 9, 2010 at 2:38 PM, Joshua Wiley wrote: > Hi Steven, > > As near as I can tell, no precision is lost. R is just being > courteous and not excessively filling our consoles. Try: > > print(airports[1,"latitude_deg"], digits = 22) > > which is the most digit

Re: [R] Loss of precision in read.csv.

2010-10-09 Thread Joshua Wiley
Hi Steven, As near as I can tell, no precision is lost. R is just being courteous and not excessively filling our consoles. Try: print(airports[1,"latitude_deg"], digits = 22) which is the most digits R will print (although internally it can store more I believe). Alternately, you can convert

[R] Loss of precision in read.csv.

2010-10-09 Thread steven mosher
Given a csv file from this location Airports<-"http://www.ourairports.com/data/airports.csv"; download.file(Airports,basename(Airports)) airports <-read.csv("airports.csv",encoding="UTF-8") > airports[1,] id ident type name latitude_deg longitude_deg elevation_ft continen