Re: [R] New problem printing °C in plots

2005-02-02 Thread Martin Maechler
BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 1 Feb 2005 23:33:37 + (GMT) writes: BDR That this prints as an octal escape was always the BDR intention: excuse me Brian, but always is not entirely correct: Originally (say 6-8 years ago), the intention was really something

Re: [R] New problem printing °C in plots

2005-02-02 Thread Prof Brian Ripley
On Wed, 2 Feb 2005, Martin Maechler wrote: BDR == Prof Brian Ripley [EMAIL PROTECTED] on Tue, 1 Feb 2005 23:33:37 + (GMT) writes: BDR That this prints as an octal escape was always the BDR intention: excuse me Brian, but always is not entirely correct: Originally (say 6-8 years ago),

Re: [R] New problem printing °C in plots

2005-02-02 Thread Peter Dalgaard
Martin Maechler [EMAIL PROTECTED] writes: yes. Patrick: it's really the case that recent versions of Linux and other OSes AFAIK really behave differently : They default to set locales based on UTF-8 whereas before, often locales where based on iso-* (e.g. iso-8859-1 for Western Europe-like).

[R] New problem printing °C in plots

2005-02-01 Thread Patrick Connolly
version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major2 minor0.1 year 2004 month11 day 15 language R paste(25, °C, sep = ) [1] 25\302\260C In ESS, I get 25\201\260C The °C does end up in the plot alright, but

Re: [R] New problem printing °C in plots

2005-02-01 Thread Prof Brian Ripley
That this prints as an octal escape was always the intention: it is your OS that is telling R that it is not a printable character. What locale are you in? For me 1) In en_GB this works (correct, as that is charset ISO-8859-1) 2) In C, I get 25\260C (correct, as that is not an ASCII char) My

Re: [R] New problem printing °C in plots

2005-02-01 Thread Patrick Connolly
On Tue, 01-Feb-2005 at 11:33PM +, Prof Brian Ripley wrote: | That this prints as an octal escape was always the intention: it is your | OS that is telling R that it is not a printable character. What locale | are you in? For me | | 1) In en_GB this works (correct, as that is charset