[R] Sweave Error: c("'...Rnw'", "'...Rnw'") is not ASCII and does not declare an encoding

Duncan Murdoch murdoch.duncan at gmail.com
Mon Sep 10 12:49:20 CEST 2012


On 12-09-10 3:28 AM, Christian Hoffmann wrote:
> Sorry to bother everyone. What has changed in Sweave since 2009?
>
> Sweave("Crs.Rnw")
> Error: c("'Crs.HdrFct.Rnw'", "'Crs.Rnw'") is not ASCII and does not
> declare an encoding
>
> No error in 2009 with the same files.
>
> heers
>
> Christian
>

vignettes are now required to declare their encodings.  If you didn't 
intend to include non-ascii characters, tools::showNonASCIIfile will 
display the problematic lines.

Duncan Murdoch




More information about the R-help mailing list