On Sat, 2003-10-18 at 10:57, [EMAIL PROTECTED] wrote:
> Hello,
> 
> How do I write one million as 1,000,000 instead of 1000000?
> (cannot find it)
> 
> regards, R. Alberts


formatC(1000000, format = "d", big.mark = ",")
[1] "1,000,000"

See ?formatC

HTH,

Marc Schwartz

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to