I want to remove \n in a sentence using R. However, I am unable to remove it. Nothing happen to my sentence. My sentence is UTF-8 encoded, which I get the sentence from read.csv() .
sentence <- "To be there with a samsung phone\\n 
I want to remove \n in a sentence using R. However, I am unable to remove it. Nothing happen to my sentence. My sentence is UTF-8 encoded, which I get the sentence from read.csv() .
sentence <- "To be there with a samsung phone\\n