See [this question](http://stackoverflow.com/questions/15480082/r-plot-mathematical-expression-in-axis-label) or [this question](http://stackoverflow.com/questions/1395105/getting-latex-into-r-plots) for instance.
– plannapusApr 02 '13 at 14:09
@user2227801 **tikzdevice** was removed from CRAN. You can install versions by hand from the archive: http://cran.r-project.org/web/packages/tikzDevice/index.html
– Gavin SimpsonApr 02 '13 at 14:14
What do you mean that you couldn't install the package? Did it give errors? Do you just not know how?
– DasonApr 02 '13 at 14:23
I'm not very familiar with Latex but if the code you gave is supposed to give the "big O" used in mathematics then `expression(Omicron)` should be equivalent.
– plannapusApr 02 '13 at 14:35
Yes, the error is:Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
2: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'tikzDevice_0.6.2.tar.gz/DESCRIPTION', probable reason 'No such file or directory'
– user2227801Apr 02 '13 at 14:37
You will have to build the package by hand. If you're on Windows, you'll need a toolchain (Linux and OSX have it prepacked). Search "how to build r package".
– Roman LuštrikApr 02 '13 at 14:48