[Rd] re ading SPSS .sav files (PR#13509)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Sat Feb 14 00:01:15 CET 2009


HBaize wrote:
> 
> 
> I have experience the same problem reading SPSS sav files using R 2.8.0 and
> 2.8.1 on Windows XP and Tinn-R version 2.1.1.6. I'm using SPSS 17.0 so it is
> probably not related to SPSS version 11. I might add that I have been having
> problems interfacing Tinn-R 2.1.1.6 with R although it may be unrelated to
> the crash that results from attempting to read SPSS "sav" files.
> 
> Here is the code that results in the crash.
> 
> ## ---
> library(foreign)
> 
> scoresdat<- read.spss("H:/groups/evaluations/data/10101_012709_Scores.sav",
>                to.data.frame=TRUE) 

And what happens next? RGui crashes?

Is it possible to put the file on a webpage (or maybe a subset showing 
the same syptoms)? Without it, the problem is not really reproducible by 
anyone but you.


-- 
    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-devel mailing list