search for: x9arn

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

Did you mean: x9aren
2008 Apr 10
1
How to replace German umlauts in strings?
...ckslashes cause problems and I do not know how to get this to work. The data.frame should then be written to a file without destroying the replaced substrings (so that indeed \"a appears in the file for \x8a). Is this possible? Here is a minimal example: data=data.frame(names=c("Bj\x9arn","S\x9aren"),points=c (10,20),stringsAsFactors=F) data[1,1]=gsub('\\x9a','\\"o',data[1,1]) #does not work! (neither do similar calls) Thanks in advance Marius