[Rd] prettyNum inserts leading commas (PR#1548)

maechler@stat.math.ethz.ch maechler@stat.math.ethz.ch
Tue, 14 May 2002 11:13:08 +0200 (MET DST)


>>>>> "DavidB" == David Brahm <brahm@alum.mit.edu> writes:

    DavidB> Under R-1.5.0 on Solaris 2.6:
    R> prettyNum(123456789, big.mark=",")
    DavidB>    [1] ",123,456,789"

    ....

    DavidB> Looks to me like a bug in
    DavidB> src/library/base/R/format.R, in function prettyNum:

definitely a bug that will be fixed in 1.5.1.
Thank you for the example and patch proposal!

Martin

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._