[R] How to preserve the numeric format and digits ?

Daren Tan daren76 at hotmail.com
Fri Jul 25 02:46:38 CEST 2008


Instead of

> m <- c(400000000, 50000000000)
> paste("A", m, "B", sep="")
[1] "A4e+08B" "A5e+10B"

I want "A400000000" and "A50000000000"



More information about the R-help mailing list