# [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

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
text(2,2, "\u22a5") # not for me
text(3,3, "\x5e",font=5) # works for me