[R] number format, writing 1e-5 instead of 0.00001

2010-10-20 Thread skan
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:

Re: [R] number format, writing 1e-5 instead of 0.00001

2010-10-20 Thread Henrique Dallazuanna
Try this: format(0.1, scientific = F) On Wed, Oct 20, 2010 at 11:21 AM, skan juanp...@gmail.com 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

Re: [R] number format, writing 1e-5 instead of 0.00001

2010-10-20 Thread David Winsemius
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