Skip to content

is there an option to "turn off" scientific notation in write.csv

4 messages · Chris Conner, Paul Hiemstra, William Dunlap

#
Have you tried setting
   options(scipen=500) # big number of digits
?  E.g.,
[1] 0
"","x","d","s"
"1",3.14159265358979e-30,-30,"New Mexico"
"2",3.14159265358979e-20,-20,"New York"
"3",3.14159265358979e-10,-10,"North Carolina"
"4",3.14159265358979,0,"North Dakota"
"5",31415926535.8979,10,"Ohio"
"6",3.14159265358979e+20,20,"Oklahoma"
"7",3.14159265358979e+30,30,"Oregon"
"","x","d","s"
"1",0.00000000000000000000000000000314159265358979,-30,"New Mexico"
"2",0.0000000000000000000314159265358979,-20,"New York"
"3",0.000000000314159265358979,-10,"North Carolina"
"4",3.14159265358979,0,"North Dakota"
"5",31415926535.8979,10,"Ohio"
"6",314159265358979334144,20,"Oklahoma"
"7",3141592653589793216422042866402,30,"Oregon"
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com