From mayeul.kauffmann at ecoledelapaix.org  Thu Feb 12 17:00:07 2009
From: mayeul.kauffmann at ecoledelapaix.org (mayeul.kauffmann at ecoledelapaix.org)
Date: Thu, 12 Feb 2009 17:00:07 +0100 (CET)
Subject: [Rd] typo in example(dbEscapeStrings) (PR#13521)
Message-ID: <20090212160007.5C058282EFC1@mail.pubhealth.ku.dk>

Full_Name: Mayeul Kauffmann
Version: 2.8.1
OS: x86_64-pc-linux-gnu (kubuntu)
Submission from: (NULL) (86.200.212.40)


The file /library/RMySQL/html/dbEscapeStrings.html documents dbEscapeStrings()
In the example, an 's' is missing in line 3:

## Not run: 
tmp <- sprintf("select * from emp where lname = %s", "O'Reilly")
sql <- dbEscapeString(con, tmp)
dbGetQuery(con, sql)
## End(Not run)

sql <- dbEscapeString(con, tmp)
should be:
sql <- dbEscapeStrings(con, tmp)



[Rd] typo in example(dbEscapeStrings) (PR#13521)
mayeul.kauffmann at ecoledelapaix.org