On Tue, 31 Jul 2007, Martin Henry H. Stevens wrote: > Thank you for this simple solution. It works well in R.app (R 2.5.1 > GUI 1.20 (4535) (4535)), but I can't figure out how to make it work > in my Aquamacs+ESS. > When I attempt to set the locale, I get an error message. Any > thoughts are appreciated. > > Sys.setlocale("LC_CTYPE", "greek") > [1] "" > Warning message: > OS reports request to set locale to "greek" cannot be honored in: > Sys.setlocale("LC_CTYPE", "greek")
You need to set a UTF-8 locale (and I believe that is all there are on MacOS, but of course it uses non-standard locale names: our MacOS box seems to be switched off so I cannot check easily). > > Cheers, > Hank > > On Jul 31, 2007, at 3:00 PM, Prof Brian Ripley wrote: > >> On Tue, 31 Jul 2007, Martin Henry H. Stevens wrote: >> >>> Hi Folks, >>> I am using R 2.5.1 on a Mac OS X 10.4.9, via ESS. >>> >>> I would like to try to get an italic mu onto a plot axis label. I >>> note that in a previous email, >>> (Thu, 4 May 2006 19:41:41 +0100 (BST)), Brian Ripley wrote, >>> "There is no italic symbol font available on most devices. So >>> unless you >>> try to plot Greek (not math symbol Greek) you are out of luck. " >>> >>> How does one plot Greek, or is there now another solution? >> >> Use the appropriate Unicode characters. Lower case mu is \u03bc. >> Whether this works depends on the device and locale (as I said before) >> >> -- >> 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, UK Fax: +44 1865 272595 > > > > Dr. Hank Stevens, Associate Professor > 338 Pearson Hall > Botany Department > Miami University > Oxford, OH 45056 > > Office: (513) 529-4206 > Lab: (513) 529-4262 > FAX: (513) 529-4243 > http://www.cas.muohio.edu/~stevenmh/ > http://www.muohio.edu/ecology/ > http://www.muohio.edu/botany/ > > "E Pluribus Unum" > > ______________________________________________ > R-help@stat.math.ethz.ch 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. > -- 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, UK Fax: +44 1865 272595 ______________________________________________ R-help@stat.math.ethz.ch 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.