Re: [R] Help formating data to display commas

2010-01-07 Thread Anderson, Chris
Subject: Re: [R] Help formating data to display commas Try this: gsub("\\s", "", format(upper, big.mark = ",")) On Thu, Jan 7, 2010 at 5:31 PM, Anderson, Chris wrote: > I'm using the following code to create quartile intervals of my dataset and > it is wo

Re: [R] Help formating data to display commas

2010-01-07 Thread Anderson, Chris
-project.org Subject: Re: [R] Help formating data to display commas Try this: gsub("\\s", "", format(upper, big.mark = ",")) On Thu, Jan 7, 2010 at 5:31 PM, Anderson, Chris wrote: > I'm using the following code to create quartile intervals of my dataset and > it

Re: [R] Help formating data to display commas

2010-01-07 Thread Henrique Dallazuanna
> Chris Anderson > Data Analyst > Medical Affairs > wk: 925-677-4870 > cell: 707-315-8486 > Fax:925-677-4670 > > > > -Original Message- > From: Henrique Dallazuanna [mailto:www...@gmail.com] > Sent: Thursday, January 07, 2010 11:45 AM > To: Anderson, Chri

Re: [R] Help formating data to display commas

2010-01-07 Thread Henrique Dallazuanna
Try this: gsub("\\s", "", format(upper, big.mark = ",")) On Thu, Jan 7, 2010 at 5:31 PM, Anderson, Chris wrote: > I'm using the following code to create quartile intervals of my dataset and > it is working like it is suppose too. In my final output of the data I would > like currency amounts t

[R] Help formating data to display commas

2010-01-07 Thread Anderson, Chris
I'm using the following code to create quartile intervals of my dataset and it is working like it is suppose too. In my final output of the data I would like currency amounts to be displayed with commas. I have not found an option either through FormatC or sprintf that will display the data with