[R-sig-Geo] read ascii problem floating point

Clémentine Fritsch clementine.fritsch at univ-fcomte.fr
Fri Jan 21 17:48:57 CET 2011

I have tried to read an ascii file using “readAsciiGrid” {maptools} in R 
2.12.0. The z values are incorrect, and I strongly suppose that the 
problem is due to floating point.

Is it possible to specify the number of significant digits in readAsciiGrid?

If not, how could I import my ascii?

Thanks for your help,


Clémentine Fritsch
PhD, post-doc researcher
UMR 6249 - Chrono-Environment
University of Franche-Comte
Place Leclerc
F-25030 Besançon Cedex
E-mail: clementine.fritsch at univ-fcomte.fr
Tel.: +33 (0) 381 665 710
Fax: +33 (0) 381 665 797

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clementine_fritsch.vcf
Type: text/x-vcard
Size: 405 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20110121/9bf3ca73/attachment.vcf>

More information about the R-sig-Geo mailing list