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

Peter Dalgaard pdalgd at gmail.com
Sat Jul 17 10:12:19 CEST 2010


Leo Evangelista wrote:
> Sir/Madam,
> 
>  
> 
> Installed in my computer is the Version 2.9.1(2009-06-26)  of R. I have a
> SPSS.sav file produced by SPSS Version 17.
> 
>  
> 
>  
> 
>> install.('foreign')
> 
>> library(foreign)
> 
>  
> 
> <- read.spss("f:/sme.sav",use.value.labels=FALSE)
> 
> Warning message:
> 
> In read.spss("f:/sme.sav", use.value.labels = FALSE) :
> 
>   f:/sme.sav: Unrecognized record type 7, subtype 18 encountered in system
> file
> 
>  
> 
> I have tried so may times running some conditions I think may have caused
> these errors to recur(including re-installing the R).
> 
>  
> 
> I am at my wit's end on how to make the read.spss work. Please help!

It's a warning, not an error. Did you not get a result returned from
read.spss(...) ??

(This is hardly R-devel material, and your R is a year out of date.)

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-devel mailing list