On Fri, 25 Apr 2014, Allin Cottrell wrote:
I think it depends on the R version. In R 3.1.0 there's a
"new feature"
(in fact, a backwardly incompatible change) described as follows:
"type.convert() (and hence by default read.table()) returns a character
vector or factor when representing a numeric input as a double would lose
accuracy."
So if we happen to print data for consumption by R with more than (I
suppose) 16 significant digits it gets silently borked.
How nice of them.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------