mayeul.kauffmann at ecoledelapaix.org
2009-Feb-12 16:00 UTC
[Rd] typo in example(dbEscapeStrings) (PR#13521)
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)