[R] How to add a double quote to a string

arunkumar1111 akpbond007 at gmail.com
Tue Oct 11 09:23:14 CEST 2011


Hi 

I want to add a double quote to a string

eg


Expected output = DROP TABLE  IF EXISTS "abc"

My code

tab=c("abc")
query = paste("DROP TABLE IF EXISTS ",tab,sep="")

Please help me to solve this problem


--
View this message in context: http://r.789695.n4.nabble.com/How-to-add-a-double-quote-to-a-string-tp3893061p3893061.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list