[RkWard-devel] SPSS test files

SJR stefan_roediger at gmx.de
Thu Feb 1 23:31:36 UTC 2007


Am Donnerstag, 1. Februar 2007 19:40 schrieb Thomas Friedrichsmeier:
> On Thursday 01 February 2007 18:28, you wrote:
> > I have tested the mechanism with a greek sample file. If the headers are
> > not greek (1.sav) the file is imported. If the headers are greek I take
> > the following error message:
> >
> >  Error in read.spss("/home/user/Desktop/12.sav", to.data.frame = TRUE,  :
> >     error reading system-file header
> > In addition: Warning message:
> > /home/user/Desktop/12.sav: position 0: Variable name begins with invalid
> > character
>
> This is deep inside the read.spss() C code. I'm afraid, there is nothing we
> can do about this from the RKWard side of affairs (the conversion mechanism
> I added simply converts all strings in the created R object, it can't
> access the lower levels of reading the file itself).
>
> > I upload the 1.sav (with latin headers) and (with greek headers). To the
> > enconding field you have to write windows-1253 or MS-GREEK.
> >
> > Can you reproduce this writing specific german letters on headers like ü?
>
> I don't have access to SPSS at the moment (and won't for another few
> weeks). So I can't test. What do you mean by headers? The variable names?
> Variable labels? Something SPSS specific that I do not recall?
> @Stefan, do you have access to SPSS? Could you give it a try?

Not sure about that since I just use R. But I think our students have 
introductory courses in statistics and use SPSS for exercises. I will figure 
that out and report.




More information about the Rkward-devel mailing list