Displaying 2 results from an estimated 2 matches for "mysqlcloseconnection".
2010 Jan 29
2
RMySQL, Sweave and the annoying TRUE echo
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
2010 Jan 29
0
[SOLVED] RMySQL, Sweave and the annoying TRUE echo
S: Works! Thanx...
2010-01-29 Henrique Dallazuanna wrote:
Try this:
>
>invisible(mysqlCloseConnection(con))
>
>On Fri, Jan 29, 2010 at 9:10 AM, Stefan Petersson
><stefan.petersson at 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:
>>
>...