[R] Thousands Separator

David Feldman david at taylorfeldman.com
Wed Apr 19 08:06:20 CEST 2006


I am a new R user, and am struggling with how to add a comma to the  
tick mark labels in a bwplot or a boxplot.

I think the default values of the labels are fine, I just want them  
to appear with commas.

If I use the function boxplot, I can then use
   axis(2,labels=format(axTicks(2),big.mark=","))
but that just overlays them on the existing labels which I don't know  
how to turn off.

This method does not appear to work at all with bwplot, but I am not  
sure why.

Any help would be appreciated.

Thanks,

David

-------------------------------------------
David Feldman
The Taylor Feldman Group, LLC
www.taylorfeldman.com
(530) 400-5470



More information about the R-help mailing list