alberts@iwi201.iwinet.rug.nl
2003-Oct-18 15:57 UTC
[R] integer notation 1,000,000 instead of 1000000
Hello, How do I write one million as 1,000,000 instead of 1000000? (cannot find it) regards, R. Alberts ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
alberts at iwi201.iwinet.rug.nl wrote:> Hello, > > How do I write one million as 1,000,000 instead of 1000000? > (cannot find it) > > regards, R. AlbertsSee ?fromatC : formatC(1000000, format = "fg", big.mark = ",") Uwe Ligges> ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
On Sat, 2003-10-18 at 10:57, alberts at iwi201.iwinet.rug.nl wrote:> Hello, > > How do I write one million as 1,000,000 instead of 1000000? > (cannot find it) > > regards, R. AlbertsformatC(1000000, format = "d", big.mark = ",") [1] "1,000,000" See ?formatC HTH, Marc Schwartz