Christian Hoffmann
2012-Sep-10 07:28 UTC
[R] Sweave Error: c("'...Rnw'", "'...Rnw'") is not ASCII and does not declare an encoding
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
--
Christian W. Hoffmann,
CH - 8915 Hausen am Albis, Switzerland
Rigiblickstrasse 15 b, Tel.+41-44-7640853
c-w.hoffmann at sunrise.ch,
christian at echoffmann.ch,
www.echoffmann.ch
Duncan Murdoch
2012-Sep-10 10:49 UTC
[R] Sweave Error: c("'...Rnw'", "'...Rnw'") is not ASCII and does not declare an encoding
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