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

Michael Kubovy kubovy at virginia.edu
Sat Feb 9 23:30:35 CET 2008


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?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/



More information about the R-help mailing list