Try this: invisible(mysqlCloseConnection(con))
On Fri, Jan 29, 2010 at 9:10 AM, Stefan Petersson <stefan.peters...@inizio.se> wrote: > > 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 > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.