[R] [SOLVED] utf8 encoding and postscript

Alexandros Droseltis ml-R at alex-droseltis.com
Tue Aug 11 19:10:31 CEST 2009


On Tue, Aug 11, 2009 at 08:46 +0200, Alexandros Droseltis wrote:
> I wrote a script file with the following commands
> 
> postscript()
> [...]
> barplot(pr, xlab="Länge")
> 
> In the output file (Rplots.ps) the german umlaut is printed as "L..nge".
> How could I set the encoding correctly?

I found the solution myself: the argument encoding in the postscript()
command has to be specified. In this case encoding="ISOLatin1" could
solve the problem.

HAND

Alexandros




More information about the R-help mailing list