I am unable to remove backslash using R. Input:
text="tweets\302"
Tried solution:
gsub('[[:punct:]]',"",text)
Expected result:
tweets302
Actual Result: "tweets\302"
I tried following this answer:
Removing backslash from strings in R
What am I doing wrong?