Hello all,

I have a data frame in R, imported from an excel file in Swedish. The original 
file contains several columns that have special characters, such as \¨{a}, 
\¨{o}, and so on. After import such special characters are represented in the 
data frame by "\\345", "\\366" etc (don't ask me why). For example, a word 
"Hårkan" becomes ''H\\345rkan".

Now my question is if it is possible to substitute those "H\\345rkan" by 
"Haarkan" or simply "Harkan" in R, ideally by finding those "\\345" and then 
replacing.

Thanks in advance,
Yingfu

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to