I'm trying to use a UTF-8 encoded .Rnw file in combination with xelatex in RStudio. Since xelatex uses native UTF-8 support i cannot use
in my .Rnw file, which would ensure that the encoding auto-guessing of Sweave() works properly. The only other option I know of is to run
however, I don't know how to configure RStudio to call
Sweave() that way. Is there an option in RStudio for that, or any other way to pre-set this option for Sweave?