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

2010-07-17 Thread Peter Dalgaard
Leo Evangelista wrote: > Sir/Madam, > > > > Installed in my computer is the Version 2.9.1(2009-06-26) of R. I have a > SPSS.sav file produced by SPSS Version 17. > > > > > >> install.('foreign') > >> library(foreign) > > > > <- read.spss("f:/sme.sav",use.value.labels=FALSE) > > Wa

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

2010-07-17 Thread Leo Evangelista
Sir/Madam, Installed in my computer is the Version 2.9.1(2009-06-26) of R. I have a SPSS.sav file produced by SPSS Version 17. >install.('foreign') >library(foreign) <- read.spss("f:/sme.sav",use.value.labels=FALSE) Warning message: In read.spss("f:/sme.sav", use.value.labels = F

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

2009-02-13 Thread HBaize
I've uploaded sample SPSS sav files to my web space. This file was made with SPSS verion 13.0 and does NOT crash R 2.8.1 on my machine: http://www.3dculture.com/images/Florida2000ElectionData.sav This is the same file, but saved with SPSS ver 17.0, it does not crash but returns warnings: http

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

2009-02-13 Thread HBaize
Repeated trials have produced no crashes with SPSS sav files from version 10.0.5, 11.0, 12.0, or 14.0. SPSS sav files from Version 17.0 consistently crashes R. Some version 13.0 files will crash R. The version 13.0 files that crash R were sent to me by a colleague. My locally produced 13.0 files

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

2009-02-13 Thread HBaize
Yes the GUI crashes with the message: "R for Windows GUI front-end has encountered a problem and needs to close." giving two options debug ro close. Either button will close R. Additional information: I have replicated the crash using SPSS sav files from version 13.0 and 17.0. It does not crash

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

2009-02-13 Thread Peter Dalgaard
HBaize wrote: 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

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

2009-02-13 Thread HBaize
Full session info as R with packages as loaded when the crash occurs (note that the session is lost as R closes with the crash): R version 2.8.1 (2008-12-22) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252

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

2009-02-13 Thread HBaize
Correction to my earlier post. The SPSS file that I was accessing was not produced by SPSS 17.0. It was from 13.0, specifically: SPSS DATA FILE MS Windows Release 13.0 spssio32.dll My R version info: _ platform i386-pc-mingw32 arch

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

2009-02-13 Thread HBaize
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 unre