Hi
FISCHER, Matthew wrote:
Hi Eric,
Thanks for your speedy reply, I should have noted that I'm using a Linux machine. However, when I copy the symbol from Windows to Linux (using R/emacs) via an x-win 32 window it replaces the per mille symbol with a /211. R then produces the character (not a per mille symbol!) that can be found in the equivalent place using character.table() in the Hmisc package. I'd use windows, except we have huge output datasets generated by a climate model, and its not possible to move it to a machine running windows.
Any other suggestions are welcome!,
If postscript output is sufficient, the following trick should work ...
postscript(encoding="WinAnsi.enc") plot(1:10, ylab="\211") dev.off()
Paul
-----Original Message----- From: Eric Lecoutre [mailto:[EMAIL PROTECTED] Sent: Tuesday, 15 February 2005 18:54 To: FISCHER, Matthew; 'r-help@stat.math.ethz.ch' Subject: Re: [R] special symobol / character
Hi Matthew,
Most systems allow to enter any ASCII (or extended ASCII) character directly using a key combination.
Accessing ANSI charcaters under Windows is possible with:
ALT+0xxx (press ALT, hold it down, press 0 and the number of the character, release ALT)
Thus: ALT+0137 makes: ?
The future seems promising with the Unicode support: kudo R core team!
Eric
At 08:23 15/02/2005, FISCHER, Matthew wrote:
Hi all,
Is it possible to add a permil (or per mille) symbol to an R plot (I couldn't find this symbol under demo(Hershey) or the plotmath information).
In some ascii tables it is symbol no. 137.
cheers,
Matt.
[[alternative HTML version deleted]]
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Eric Lecoutre UCL / Institut de Statistique Voie du Roman Pays, 20 1348 Louvain-la-Neuve Belgium
tel: (+32)(0)10473050 [EMAIL PROTECTED] http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
If the statistics are boring, then you've got the wrong numbers. -Edward Tufte
[[alternative HTML version deleted]]
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
-- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 [EMAIL PROTECTED] http://www.stat.auckland.ac.nz/~paul/
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html