Re: [R] How to define format of number

2012-04-13 Thread Bert Gunter
Well... ?format (strangely enough). Try searching in R at least a wee bit before posting. -- Bert On Fri, Apr 13, 2012 at 12:35 PM, mrzung wrote: > hi all, > > What I want to do is show a number with thousand expression. > > I dont know exactly the expression name but here is example. > >  1,0

Re: [R] How to define format of number

2012-04-13 Thread jim holtman
try this: > prettyNum(1, big.mark = ",") [1] "100,000,000" > On Fri, Apr 13, 2012 at 3:35 PM, mrzung wrote: > hi all, > > What I want to do is show a number with thousand expression. > > I dont know exactly the expression name but here is example. > > 1,000 > 10,000,000 > > is ther