[R] read.spss 'error reading system-file header'

Michael Bibo michael_bibo at health.qld.gov.au
Thu Aug 3 03:05:40 CEST 2006


Finn Sandø <fs <at> fs-analyse.dk> writes:

> 
> When I try to import an spss sav file with read.spss() I am getting the 
> following error
> 'Error in read.spss("X:\\xxxx.sav") : error reading system-file header' 
> and the import process is aborted.
> I have tried in v. 2.3.0 and 2.3.1
> The sav-file loads without problems in spss v14 I have tried saving in 
> older spss v7 but are getting the same result.
> The read.spss() has other errors (the 'Unrecognized record type 7, 
> subtype 7 encountered in system file') but it does not seem to have any 
> impact.


These are also the error messages you get when the .sav file in question was 
created with the SPSS Data Entry product.  If that is the case, then it is 
covered by section 3.1 of the R Data Import/Export document.

Michael



More information about the R-help mailing list