On Jun 18, 2010, at 10:26 AM, Larry Hotchkiss wrote:
> Hi,
>
> I repeatedly get an error when trying to read an SPSS v. 18 .sav
> file into R.
No, you did not get an error message.>
>> 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?
What makes you think it didn't work? It was _only_ a warning message
after all. Have you looked at femaleSPSS.dat in your workspace?
Had you done a search of the archives you would have found many such
early discussions:
RSiteSearch("Unrecognized record type 7, subtype 18 encountered in
system file")
--
David Winsemius, MD
West Hartford, CT