[R] Latex symbols in R (\perp and \parallel)

Dieter Menne dieter.menne at menne-biomed.de
Wed Apr 1 19:10:18 CEST 2009



Lorenzo Isella wrote:
> 
> I am sure this is a one-liner, but I cannot find the R command to
> generate the LaTex symbols \perp and \parallel.
> 

As often, the most helpful "how-to" resource is by Prof. Brian Ripley

http://markmail.org/thread/kauzftprydrhqq5m

if you manage to get around the many lines telling me that I am an idiot.
What works depends on your system. Mine is Windows.

plot(1:5, type="n") 
#http://www.fileformat.info/info/unicode/char/27c2/index.htm
text(1,1, "\u27C2") # does not work for me
#http://www.stat.auckland.ac.nz/~paul/R/CM/AdobeSym.html
text(2,2, "\u22a5") # not for me
text(3,3, "\x5e",font=5) # works for me

Please simplify your examples and make them self-running next time.


Dieter



-- 
View this message in context: http://www.nabble.com/Latex-symbols-in-R-%28%5Cperp-and-%5Cparallel%29-tp22829919p22831262.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list