lundi 13 février 2017

How do I create a character string in R which keeps apostrophes?

Vote count: 0

I am trying to create a character string in R, which I can then use to call a SQL Sproc.

Websites  <- paste('UK,','DE,','CA,', 'US', sep = " ")
print(Websites)

[1] "UK, DE, CA, US"

How do I change this for the output:

"'UK', 'DE', 'CA', 'US"?

asked 5 secs ago

Let's block ads! (Why?)



How do I create a character string in R which keeps apostrophes?

Aucun commentaire:

Enregistrer un commentaire