Skip to content

read.table and decimals

2 messages · Kris Nackaerts, Uwe Ligges

#
Dear,

We are trying to read an asciifile using the read.table() function and 
discovered that only 4 decimals are read. Any idea how to get more decimals?

Kris
#
Kris Nackaerts wrote:
It reads *all* decimals, if the format is specified correctly.
I guess you printed the read in data in an inappropriate way to see full 
accuracy.

Try to print it with
   format(x, digits=22)
and see that everythinbg was read in ....

Uwe Ligges