Re: [R] problem with sub !

2007-07-25 Thread Vladimir Eremeev
Try Sys.setlocale(). marco.R.help marco.R.help wrote: > > I am trying to use "sub" to replace patterns in a character array that > contains german names with german special characters. I have the following > problem: > >> sub("\\xdf","ss","Wei\xdferitzkreis") > Error in sub(pattern, repla

[R] problem with sub !

2007-07-25 Thread marco.R.help marco.R.help
Dear all, I am trying to use "sub" to replace patterns in a character array that contains german names with german special characters. I have the following problem: > sub("\\xdf","ss","Wei\xdferitzkreis") Error in sub(pattern, replacement, x, ignore.case, extended, fixed, useBytes) : inp