Le 14 mai 10 à 14:22, Erich Studerus a écrit :
Hi
I was very pleased to see that the latest alpha version of Lyx now
supports Sweave/R code chunks out of the box with any document
class. This is a killer feature IMHO! I tried the latest version of
Lyx 2.0 alpha 3 on a Windows PC and it works quite well. However, I
had some problems with plotting strings containing accented letters.
For instance, the following code chunk produces an error:
<<echo=F, fig=T>>=
plot(a, main = ‘äöü’)
@
It seems that R is not executed with any locale settings. For instance
This is bug 6625:
http://www.lyx.org/trac/ticket/6625
We have to pass the document locale to R, but I am not sure how to do
it.
I also got an error when I used the XeTeX typesetting engine in
combination with the Sweave module.
The same error or a different problem?
JMarc