Displaying 2 results from an estimated 2 matches for "comphomeneu".
2007 Feb 01
2
read.spss and encodings
Hi!
I'm having trouble with importing spss files containing non-ascii characters
(R 2.4.1, debian linux, i386). To reproduce:
Download the following file:
http://statmath.wu-wien.ac.at/data/spss/de/comphomeneu.sav
require (foreign)
Sys.setlocale (locale="C")
read.spss("comphomeneu.sav")$ARBEIT[1]
# prints:
# [1] im B\374ro
# Levels: im B\374ro zuhause
\374 of course is actually a u-umlaut. However, I guess in the C locale it's
not expected to print as such. But now try this (us...
2007 Feb 01
0
Fwd: Re: read.spss and encodings
...e:
>
> > Hi!
> >
> > I'm having trouble with importing spss files
> > containing non-ascii characters
> > (R 2.4.1, debian linux, i386). To reproduce:
> >
> > Download the following file:
> >
>
http://statmath.wu-wien.ac.at/data/spss/de/comphomeneu.sav
> >
> > require (foreign)
> > Sys.setlocale (locale="C")
> > read.spss("comphomeneu.sav")$ARBEIT[1]
> > # prints:
> > # [1] im B\374ro
> > # Levels: im B\374ro zuhause
> >
> > \374 of course is actually a u-umlaut. Howe...