Re: [R] \ll and \gg in expression()

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sun, 10 Feb 2008 05:37:26 +0000 (GMT)

On Sat, 9 Feb 2008, Michael Kubovy wrote:

>
> On Feb 9, 2008, at 4:41 PM, Prof Brian Ripley wrote:
>
>> On Sat, 9 Feb 2008, Michael Kubovy wrote:
>>
>>> How do I enter 'much greater than' and 'much less than' symbols in an
>>> expression?
>>
>> Those are not in the Adobe Symbol encoding used for plotmath.
>>
>> Since you have not told us your platform and locale as requested in the
>> posting guide
>
> R version 2.7.0 Under development (unstable) (2008-02-05 r44340)
> i386-apple-darwin8.10.1
>
> locale:
> C
>
>> I don't know if the following is relevant to you.
>>
>> If you have a suitable Unicode font and the means to use it (which most
>> likely means a UTF-8 locale in R < 2.7.0) they are the glyphs for "\u226a"
>> and "\u226b" (see
>> http://www.alanwood.net/unicode/mathematical_operators.html). A quick
>> check suggests that not many fonts do.
>
> Thanks. The Mac character palette tells me that they correspond to Unicode
> 226A and B or UTF8 E2 89 AA and AB.
>
> My question now is, how do I tell expression() to use the glyphs for these?

"\u226a" and "\u226b", as I said. But not in a C locale.

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 10 Feb 2008 - 05:47:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 10 Feb 2008 - 11:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive