## Not run:
# .gmDB <- dbConnect(...)
# complexString <- "He said: \"I\'m going to the circus\"\n"
# cat(complexString)
# gmEscapeStrings(complexString)
# cat(gmEscapeStrings(complexString),"\n")
# cat(gmSQLValues(complexString),"\n")
# myfactor <- factor(c("a","a","b"))
# cat(gmSQLValues(myfactor),"\n")
# num <- 1:3
# cat(gmSQLValues(num),"\n")
#
# X <- data.frame(string=rep(complexString,3),fac=myfactor,x=num)
# cat(gmSQLValues(X),"\n")
# ## End(Not run)
Run the code above in your browser using DataLab