Skip to content

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

3 messages · Christian Schulz, Duncan Murdoch, Brian Ripley

#
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
#
On 12-09-10 3:28 AM, Christian Hoffmann wrote:
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
#
On 10/09/2012 11:49, Duncan Murdoch wrote:
And if you did, there is a section called 'Encodings' in the Sweave 
manual (and has been for a year at least).