From ripley at stats.ox.ac.uk  Fri Feb 13 17:08:11 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 13 Feb 2009 16:08:11 +0000 (GMT)
Subject: [Rd] reading SPSS .sav files (PR#13509)
In-Reply-To: <20090207160505.48F55283416A@mail.pubhealth.ku.dk>
References: <20090207160505.48F55283416A@mail.pubhealth.ku.dk>
Message-ID: <alpine.OSX.1.00.0902130837370.67343@tystie.local>

Please can we have the reproducible example we asked for (in the FAQ, 
the posting guide ...).

We also need to know the version of foreign that worked, so can we 
have the output of sessionInfo() for both sessions (see the posting 
guide for what we need).

read.spss is able to read the old SPSS .sav files we have as examples, 
so there has to be something different about yours -- and we have no 
idea what without seeing an example.  Hopefully with one we will be 
able to track this down.

On Sat, 7 Feb 2009, zac at zjbnewton.demon.co.uk wrote:

> Full_Name: Roger Newton
> Version: 2.8.1
> OS: windows 2000
> Submission from: (NULL) (80.176.228.157)
>
>
> I have an elderly version of SPSS (version 11) which I still use. R 
> Version 2.6.1 would, and still will, read SPSS *.sav files produced 
> by SPSS version 11. R version 2.8.1 which I installed two days ago 
> (05/02/09) reports an error and shuts down when trying to read SPSS 
> version 11 *.sav files using the read.spss function in package 
> foreign.
>
> R version 2.8.1 will read *.sav files produced by SPSS version 13.
>
> The problem applies to all the existing SPSS files I had before I 
> downloaded R 2.8.1 and to several new SPSS 11 *.sav files I have 
> produced since.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] reading SPSS .sav files (PR#13509)
Prof Brian Ripley