Skip to content

greek characters in Figures

5 messages · Alaios, Martin Maechler, David Winsemius

#
Dear all,I am trying to write in my Figure labels short equations that contain greek characters

For example:??C(h) = sigma^2 * rho(h). ??

I am googling it and there are many packages available but unfortunately they do not look available for my 3.2.4 latex version

install.packages("latex2expr")Installiere Paket nach ?/home/apa/R/x86_64-pc-linux-gnu-library/3.2?(da ?lib? nicht spezifiziert)Warnung: kann nicht auf den Index f?r das Repository https://cran.cnr.Berkeley.edu/src/contrib zugreifen:? nicht unterst?tztes URL SchemaWarnmeldung:Paket ?latex2expr? ist nicht verf?gbar (for R version 3.2.4 Revised)?

Any ideas what else I can try?I would like to thank you in advance for your replyRegardsAlex
#
> Dear all,I am trying to write in my Figure labels short equations that contain greek characters
    > For example:??C(h) = sigma^2 * rho(h). ??

    > I am googling it and there are many packages available ......

Googling about R problems often does not lead to the best
solutions.

In this case do

   ?plotmath

and see that you do *NOT* need to install any extra packages.
You do have 29 R packages installed with your R installation,
you already have several 1000s R functions at your
disposition....

Martin Maechler,
ETH Zurich


    > Any ideas what else I can try?I would like to thank you in advance for your replyRegardsAlex
#
My efforts found a 'latex2exp' but no 'latex2expr'. Are you sure you are not missplelling the package name?
David Winsemius
Alameda, CA, USA
1 day later
#

        
On Monday, May 2, 2016 9:39 PM, David Winsemius <dwinsemius at comcast.net> wrote:

            
My efforts found a 'latex2exp' but no 'latex2expr'. Are you sure you are not missplelling the package name?
David Winsemius
Alameda, CA, USA
#
You seem to have difficulties with your Internet connection/setup:
I just installed from source from that repository into an R 3.2.5 library. (I first needed to reinstall that version since I had moved to 3.3.0. Admittedly I was doing this on a Mac but since the package does not require any C/Fortran level compiling, my experience should mimic that of a Linux user using a source package.