Dear all, which font do I have to choose to use German umlauts at x/ylab in plot? Do I have to change Rdevga; and how? Or should I use these Hershey vectors? I looked quite a long time for a solution, which should be easy, so I thought I'd better ask here. Maybe some other people have already solved this problem. Regards, Petra - --------------------------------------------------- Petra Steiner Arbeitsbereich Linguistik Universitaet Muenster Huefferstrasse 27 48149 Muenster Tel: 0251 / 83 39442 petra at marley.uni-muenster.de http://santana.uni-muenster.de/~petra/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Sun, 7 Apr 2002, Petra Steiner wrote:> Dear all, > > which font do I have to choose to use German umlauts at x/ylab in plot? Do I > have to change Rdevga; and how? Or should I use these Hershey vectors?So you are using Windows: please do remember to tell us!> I looked quite a long time for a solution, which should be easy, so I > thought I'd better ask here. > Maybe some other people have already solved this problem.There is nothing to solve! Did you try the obvious: enter the characters from your keyboard in the xlab and ylab strings? It should work, and there are examples in ?text. If this perchance does not work, please tell us a lot more details about your system. (It works even in English-language versions of Windows 95, 98, NT4, 2000 and XP to my knowledge.) -- Brian D. Ripley, ripley at stats.ox.ac.uk 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Petra Steiner wrote:> > Dear all, > > which font do I have to choose to use German umlauts at x/ylab in plot? Do I > have to change Rdevga; and how? Or should I use these Hershey vectors? > > I looked quite a long time for a solution, which should be easy, so I > thought I'd better ask here. > Maybe some other people have already solved this problem.plot(1:10, xlab="???") works for me (R-1.4.1 on WinNT4 and Linux) on windows() and postscript() device. In which case (and OS) does the problem appear? Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thanks to you all for your quick replies! I work under Windows98 and I am still using version 1.3.1. The output file is in postscript or eps format. Henrik Bengtssons tip>plot(1:10, xlab="\344\366\374")solved the problem, for I call the program in Rterm. A special thank-you to Henrik for his useful functions. Regards, Petra> There is nothing to solve! Did you try the obvious: enter the characters > from your keyboard in the xlab and ylab strings? It should work, and > there are examples in ?text. > > If this perchance does not work, please tell us a lot more details about > your system. (It works even in English-language versions of Windows > 95, 98, NT4, 2000 and XP to my knowledge.) > > -- > Brian D. Ripley, ripley at stats.ox.ac.uk > 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 272860 (secr) > Oxford OX1 3TG, UK Fax: +44 1865 272595 >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._