[R] How to replace German umlauts in strings?

2008-04-10 Thread Hofert Marius
Dear R-users, I have a file containing names of German students. These names contain the characters ä, ö or ü (German umlauts). I use read.table() to read the file and let's assume the table is then stored in a variable called data. The names are then contained in the first column, i.e.

Re: [R] How to replace German umlauts in strings?

2008-04-10 Thread Hans-Jörg Bibiko
On 10.04.2008, at 18:03, Hofert Marius wrote: I have a file containing names of German students. These names contain the characters ä, ö or ü (German umlauts). I use read.table() to read the file and let's assume the table is then stored in a variable called data. The names are then contained

Re: [R] How to replace German umlauts in strings?

2008-04-10 Thread Dieter Menne
Hans-Jörg Bibiko bibiko at eva.mpg.de writes: On 10.04.2008, at 18:03, Hofert Marius wrote: I have a file containing names of German students. These names contain the characters ä, ö or ü (German umlauts). I use read.table() to read the file and let's assume the table is then stored in

Re: [R] How to replace German umlauts in strings?

2008-04-10 Thread Peter Dalgaard
Dieter Menne wrote: Hans-Jörg Bibiko bibiko at eva.mpg.de writes: On 10.04.2008, at 18:03, Hofert Marius wrote: I have a file containing names of German students. These names contain the characters ä, ö or ü (German umlauts). I use read.table() to read the file and let's assume the

Re: [R] How to replace German umlauts in strings?

2008-04-10 Thread Prof Brian Ripley
Or read the file with read.table(file(umlaut.txt, encoding=MAC), ...) On Thu, 10 Apr 2008, Peter Dalgaard wrote: Dieter Menne wrote: Hans-Jörg Bibiko bibiko at eva.mpg.de writes: On 10.04.2008, at 18:03, Hofert Marius wrote: I have a file containing names of German students. These