Home > Mobile >  R remove \\n in sentence
R remove \\n in sentence

Time:01-25

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           
  •  Tags:  
  • Related