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

From: HBaize <HBaize_at_buttecounty.net>
Date: Fri, 13 Feb 2009 15:53:24 -0800 (PST)

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 (generated in 2005) do not crash R.

On a trial read of a SPSS version 17.0 file the first run produced these messages:

Warning messages:
1: In read.spss("H:/groups/evaluations/ccoc/data/testRcrash.sav", to.data.frame = TRUE) :
  H:/groups/evaluations/ccoc/data/testRcrash.sav: File-indicated character representation code (1252) looks like a Windows codepage 2: In read.spss("H:/groups/evaluations/ccoc/data/testRcrash.sav", to.data.frame = TRUE) :
  H:/groups/evaluations/ccoc/data/testRcrash.sav: Unrecognized record type 7, subtype 20 encountered in system file

These messages are similar to warnings that R use to generate in reading SPSS files from version 12.0 and later.

The second try to read that file in the same session crashed R.

I will upload an SPSS 17.0 file to my web space in a few hours and post the location.

-- 
View this message in context: http://www.nabble.com/reading-SPSS-.sav-files-%28PR-13509%29-tp21889920p22007185.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 - 23:06:46 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 Sat 14 Feb 2009 - 03:30:23 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