Skip to content
Back to formatted view

Raw Message

Message-ID: <504DC5B0.30808@gmail.com>
Date: 2012-09-10T10:49:20Z
From: Duncan Murdoch
Subject: Sweave Error: c("'...Rnw'", "'...Rnw'") is not ASCII and does not declare an encoding
In-Reply-To: <504D9699.8020408@sunrise.ch>

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