From HBaize at buttecounty.net  Sat Feb 14 00:53:24 2009
From: HBaize at buttecounty.net (HBaize)
Date: Fri, 13 Feb 2009 15:53:24 -0800 (PST)
Subject: [Rd] re  ading SPSS .sav files (PR#13509)
In-Reply-To: <22006704.post@talk.nabble.com>
References: <20090207160505.48F55283416A@mail.pubhealth.ku.dk>
	<22005733.post@talk.nabble.com> <4995FBBB.9000909@biostat.ku.dk>
	<22006704.post@talk.nabble.com>
Message-ID: <22007185.post@talk.nabble.com>



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.



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