Skip to content
Prev 171349 / 398503 Next

1.095e+09 for integers

I've had a very long file written out by R with write.table, with  
fields of time values, converted from POSIXlt as.numeric.  Among 2.5  
million values, very few had 6 trailing zeroes, and those were output  
in scientific notation as in the subject.  Is this the default  
behavior for long integers, and how can it be turned off (with all  
digits for any integer field in write.table)?  This is important to  
interoperate with other languages through such text dumps, as some do  
not expect scientific notation for integers, only for floats.

Cheers,
Alexy