[R] RMySQL, Sweave and the annoying TRUE echo

Stefan Petersson stefan.petersson at inizio.se
Fri Jan 29 12:10:51 CET 2010


Hi,

A small (but annoying) problem with RMySQL library. When a connection is closed, it echoes 'TRUE' to the console. Like this:

 R> mysqlCloseConnection(con)
 [1] TRUE

The real problem comes when I use RMySQL with Sweave, since the TRUE echo gets into my final Sweave document. Even when I explicitly state <<include=FALSE, echo=FALSE>>= in the header of the R code chunk.

Is there a way to suppress this TRUE echo?

TIA

 / s



More information about the R-help mailing list