[R] Reading SPSS file

From: Arin Basu <arin99_at_rediffmail.com>
Date: Tue 27 Jul 2004 - 12:46:34 EST


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]]



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 27 12:53:15 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:17 EST