2008/10/6 Andrew Rayburn <[EMAIL PROTECTED]>: > My problem is that I can't import precise (to 3 decimal places) Northing and > Easting coordinates into R. The data were taken on a ProMark3 GPS unit, > with the intent of obtaining extremely precise GPS coordinates. > Post-processing was done correctly, and the resulting Northings and Eastings > were to 3 decimal places. However, every attempt I've made to import them > into R (scan, read.table, read.delim, read.dbf via FOREIGN package, and I > also the tried maptools package) results in the exact same thing - the > Northings column is shown to 1 decimal place, and the Eastings column has no > decimal places. In other words, I read in the data using one of many > different import options, and then view the data after import - and all the > precision has been eliminated. > > Has anyone else encountered this problem, and/or can anyone offer a > solution? I've spend an inordinate amount of time on this problem, with no > luck.
I suspect we'll need to see the file you are trying to import - or at least part of it. It's possible that R is only *displaying* few decimal places, controlled by options(digits=...), but that sounds unlikely. Post a bit of your file and then we can have a look.... Barry _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo