Hi,

I repeatedly get an error when trying to read an SPSS v. 18 .sav file into R.

> require(foreign)
Loading required package: foreign
> femaleSPSS.dat <- read.spss("female-04-02-2010.sav")
Warning message:
In read.spss("female-04-02-2010.sav") :
  female-04-02-2010.sav: Unrecognized record type 7, subtype 18 encountered in 
system file
> 

However, read.spss works for .sav files created in older versions of spss.

I did just reinstall foreign to be sure I have the latest version. Does anyone 
know of an update that works? 

Thanks,

Larry Hotchkiss

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to