I need the to escape the double quotes in the following example and R returns :
xx<-"the road is 'rocky all "the" way'"
xx
[1] "the road is 'rocky all "the" way'"
The final string should contain both the single and the double quotes
the road is 'rocky all "the" way'
How can I achieve this?
See Question&Answers more detail:os