Hello,
Sweave seems to have trouble processing german letters in R.
For example, my noweb R-input looks like this.
<<>>=
Oberflächenfehler = c(4, 11, 6, 2, 7, 9)
@
If I send it through Sweave, I get the following error message.

error:  chunk 1
Error in parse(text = chunk) : unexpected input in "Oberflä"
extra: Warning message:
In readLines(f[1]) :
  underfull last line in "C:\...."

(my R is in german, so I needed to translate the error message myself.)

I got the impression, that this is an encoding issue of Sweave, since the input typed into R directly works just fine. The encoding I use in my noweb document is utf8.

Thanks in advance
Gerrit

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to