On Oct 20, 2010, at 9:21 AM, skan wrote:
Hello
I've used read.table to read a file that contains numbers such as
0.1
when I write them back with write.table those numbers appear as 1e-5
How can I keep the old format?
To change globally for the session:
?options
> options("scipen
Try this:
format(0.1, scientific = F)
On Wed, Oct 20, 2010 at 11:21 AM, skan wrote:
>
> Hello
>
> I've used read.table to read a file that contains numbers such as 0.1
>
> when I write them back with write.table those numbers appear as 1e-5
>
> How can I keep the old format?
>
> than
Hello
I've used read.table to read a file that contains numbers such as 0.1
when I write them back with write.table those numbers appear as 1e-5
How can I keep the old format?
thanks
--
View this message in context:
http://r.789695.n4.nabble.com/number-format-writing-1e-5-instead-of-
3 matches
Mail list logo