Skip to content
Prev 10285 / 12125 Next

[R-pkg-devel] Conversion failure in 'mbcsToSbcs'

At line 66 of your document, you have this chunk:

<<echo=FALSE>>=
rm(list=ls())
@

That removed the device.  You need to put its definition after that. 
(It might also need to come earlier if you're doing plotting before 
this, and again even later if you remove it again.)

By the way, I'd recommend using knitr for Rnw documents instead of 
Sweave.  It will require a few changes, but in general it's more 
flexible and works a bit better.

Duncan Murdoch
On 17/02/2024 7:51 a.m., Package Maintainer wrote: