[R] decimal seperator

2010-07-23 Thread Jennifer Sabatier
Hi R-List, I have a question regarding R-language formats, I think. I am producing a series of graphs (using plot, barplot, barchart, and bwplot, using either text or mtext to place values on the graphs) and tables for a Francophone country. In fact, I have already done so. However, while they

Re: [R] decimal seperator

2010-07-23 Thread David Winsemius
On Jul 23, 2010, at 11:32 AM, Jennifer Sabatier wrote: Hi R-List, I have a question regarding R-language formats, I think. I am producing a series of graphs (using plot, barplot, barchart, and bwplot, using either text or mtext to place values on the graphs) and tables for a

Re: [R] decimal seperator

2010-07-23 Thread Jennifer Sabatier
Worked like a charm! Thanks a lot! Jen On Fri, Jul 23, 2010 at 11:48 AM, Alain Guillet alain.guil...@uclouvain.bewrote: Hi, I am sure there is a better solution but a possibility is that you use sub(\\.,,,as.character(newdata)) instead of newdata in the text calls. HTH, Alain

Re: [R] decimal seperator

2010-07-23 Thread Jennifer Sabatier
Wow, that's even better! Thanks to you both. I know both options will come in handy! Jen On Fri, Jul 23, 2010 at 11:58 AM, David Winsemius dwinsem...@comcast.netwrote: On Jul 23, 2010, at 11:32 AM, Jennifer Sabatier wrote: Hi R-List, I have a question regarding R-language formats, I