[R] write.table

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Thu Feb 9 10:48:54 CET 2006


See the "scipen" argument in ?options.

write.table(data.frame(x = 0.0005))
options(scipen = 1)
write.table(data.frame(x = 0.0005))

--sundar

fluss wrote:
> Hello!
> When using the command "write.table" I want to convert the format: 5e-04
> to  .0005. How can I do it?
> The only option I found is to use write.matrix but then I cant add rownames.
> Thank you
> Ronen
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list