search for: u0254lf

Displaying 1 result from an estimated 1 matches for "u0254lf".

Did you mean: u0254
2011 Jul 17
3
gsub() with unicode and escape character
...uot;))->my.data > gsub("o","\u0254",my.data$animals)->my.data$animals > my.data$animals [1] "d??g" "w??lf" "cat" It's not that a data frame cannot have unicode codes, cf. e.g. > data.frame(animals=c("d\u0254g","w\u0254lf","cat"))->my.data.2 > my.data.2$animals [1] d?g w?lf cat Levels: cat d<U+0254>g w<U+0254>lf I've done the best I can based on what ?gsub and ?enc2utf8 tell me, but I haven't found a solution. Unrelated to that problem, but related to gsub() is that I can&...