Displaying 1 result from an estimated 1 matches for "schwerhoerigkeit".
2010 May 12
1
Input encoding problem when using sweave with xetex
...es from within
R during the LyX-Sweave document compilation are not. For instance, the
German umlauts of the following example are not correctly typeset, when
"Unicode (XeTeX) (utf8)" is used as input encoding.
<<echo=F>>=
require(gdata)
x <- read.xls("http://www.schwerhoerigkeit.pop.ch/hoergeraete_test.xls",
stringsAsFactors = F)[2,2]
x
@
I do not have this problem with a Mac computer . I guess, this is because R
under Windows does not use UTF-8 encoding. I tried to change the encoding
within R by doing the following
<<echo=F>>=
Encoding(x) &l...