[R] Umlaut read from csv-file

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Fri Nov 7 13:34:41 CET 2008

Heinz Tuechler wrote:
> Dear Prof.Ripley!
> Thank you very much for your attention. In the given example Encoding(),
> or the encoding parameter of read.csv solve the problem. I hope your
> patch will solve also the problem, when I read a spss file by
> spss.get(), since this function has no encoding parameter and my real
> problem originated there.

read.spss() (package foreign) does have a reencode argument, though; and
 this is called by spss.get(), so it looks like an easy hack to add it

   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907

More information about the R-help mailing list