[R] problem with postcript() and umlauts

Henning Rust hrust at pik-potsdam.de
Mon Jun 27 16:58:57 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
I am running R 2.01 on SuSE 9.2 and I use GNU-Emacs and ESS.
When using umlauts like ä ö ü ß for e.g. plot titles , I enter them
directly in the code, like

plot(seq(from=-4,to=4,length=100),dnorm(seq(from=-4,to=4,length=100)),main="Gauß-Verteilung")

I get a dotted box just after the "Gau" and before the "ß" in the title.

Using the postscript device

postscript()
plot(seq(from=-4,to=4,length=100),dnorm(seq(from=-4,to=4,length=100)),main="Gauß-Verteilung")
dev.off()

I get two warning messages:

Warning messages:
1: font width unknown for character 142
2: font width unknown for character 142
and a space after the "Gau" and before the "ß".

I'd like to get rid of the extra space and the box before umlauts.
Does anyone know how to solve the problem?

Thanks,
~      Henning

- --
Henning Rust
Potsdam Institute for Climate Impact Research
Dept. Integrated Systems Analysis
P.O. Box 60 12 03, D-14412 Potsdam, Germany
Tel.: #49/331/288-2596	
Fax.: #49/331/288-2640
http://www.pik-potsdam.de/~hrust
PGP : blackhole.pca.dfn.de (www.gnupg.org)

Please avoid sending me Word or PowerPoint attachments,
send plain text or PDF instead.
See http://www.fsf.org/philosophy/no-word-attachments.html


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCwBQxppqlS9kAiT4RAoNRAKCdIFcDVJb/mW3MeK6EXhChqqI1dgCgn0Fh
A76WZDlFBswox5uoblYkx7o=
=Bxb6
-----END PGP SIGNATURE-----




More information about the R-help mailing list