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

From: Daren Tan <daren76_at_hotmail.com>
Date: Fri, 25 Jul 2008 00:46:38 +0000

Instead of

> m <- c(400000000, 50000000000)
> paste("A", m, "B", sep="")

[1] "A4e+08B" "A5e+10B"

I want "A400000000" and "A50000000000"

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 25 Jul 2008 - 00:48:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Jul 2008 - 02:32:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive