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

From: HBaize <HBaize_at_buttecounty.net>
Date: Fri, 13 Feb 2009 14:04:49 -0800 (PST)

I have experience the same problem reading SPSS sav files using R 2.8.0 and 2.8.1 on Windows XP and Tinn-R version 2.1.1.6. I'm using SPSS 17.0 so it is probably not related to SPSS version 11. I might add that I have been having problems interfacing Tinn-R 2.1.1.6 with R although it may be unrelated to the crash that results from attempting to read SPSS "sav" files.

Here is the code that results in the crash.

## ---
library(foreign)

scoresdat<- read.spss("H:/groups/evaluations/data/10101_012709_Scores.sav",

               to.data.frame=TRUE)
## ---

I presumed the problem was with my installation of R, but repeated reinstalls have not corrected the problem.

zac-14 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
>
>

-- 
View this message in context: http://www.nabble.com/reading-SPSS-.sav-files-%28PR-13509%29-tp21889920p22005733.html
Sent from the R devel mailing list archive at Nabble.com.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri 13 Feb 2009 - 21:19:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 13 Feb 2009 - 22:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive