Skip to content
Prev 30607 / 63424 Next

(PR#13234) Problems with Sweave and pdf.options(encoding="ISOLatin7")

2008/11/19 Prof Brian Ripley <ripley at stats.ox.ac.uk>:
OK, the modified R code is:

plot(rnorm(100),main="\u0105\u010D\u0117\u0119\u012F\u0161\u016B\u0173\u017E")

It does not work correctly with Sweave, as I wrote in my email, I
rechecked. And yes it works if only pdf is used.
Is it possible to do that? Sweave function in R, does not support
that, and using
SweaveHooks produced the same result.
I did not find any mention about encodings in ?Sweave, ?RweaveLatex
and ?Rtangle,  and Sweave manual and FAQ.
I looked at the code of RweaveLatexSetup, and saw that pdf.encoding is
defined explicitly, that is how I figured out, that
probably eps files are probably ok.

Sorry for the garbled message, next time I will send unicode portable
code without relying on email encodings.

Sincerely yours,

Vaidotas Zemlys