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

2008-02-10 Thread Peter Dalgaard
Prof Brian Ripley wrote:
 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.

   
Otherwise, a quick approximation could be expression(x~~1). (We 
don't do negative thin space, do we? That could make it look better.)

-- 
   O__   Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@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.


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

2008-02-09 Thread Michael Kubovy
How do I enter 'much greater than' and 'much less than'  symbols in an  
expression?
_
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400Charlottesville, VA 22904-4400
Parcels:Room 102Gilmer Hall
 McCormick RoadCharlottesville, 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/

__
R-help@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.


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

2008-02-09 Thread Prof Brian Ripley
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, 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.

 _
 Professor Michael Kubovy
 University of Virginia
 Department of Psychology
[...]

 R-help@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.

Yes, please do read it!

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
R-help@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.


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

2008-02-09 Thread Michael Kubovy

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 400400Charlottesville, VA 22904-4400
Parcels:Room 102Gilmer Hall
 McCormick RoadCharlottesville, 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/

__
R-help@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.