Hi Karl:

a possible solution:

require(foreign)
mydata <- read.spss("somedata.sav", use.value.labels = TRUE, to.data.frame = TRUE)
-----
for more information, try

library(foreign)
?read.spss

HTH,
Arin


Message: 21
Date: Mon, 26 Jul 2004 10:36:33 +0200 (CEST)
From: Karl Knoblick <karlknoblich@yahoo.de>
Subject: [R] Read SPSS data (*.sav) in R 1.8.0 (ok) and R1.9.1(error)
To: r-help@stat.math.ethz.ch
Message-ID: <20040726083633.90831.qmail@web52508.mail.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

Hallo!

<snipped....>

Does anybody know a possibilty to read a SPSS file
under R1.9.1?

Thanks!
Karl
  



Arindam Basu MD MPH DBI
Assistant Director
Fogarty International Program on Environmental Health in India
IPGMER
244 AJC Bose Road, Kolkata 700027
India
	[[alternative HTML version deleted]]


