[R] How to read SPSS file in R

F86
Mon, 03 Dec 2012 15:55:35 -0000

Dear R-users,

I have som troubles with .sav file. How is it possible for us R-users to
read SPSS files. I know that is possible,


I tried the following:


> library(foreign)
> Corp<-read.spss("/Users/kama/Analysis/Corporation.sav",
header=TRUE,
> sep=",")
Error in read.spss("/Users/kama/Analysis/Corporation.sav", header =
TRUE,  :
  unused argument(s) (header = TRUE, sep =
",")
> Corp<-read.spss("/Users/kama/Analysis/Corporation.sav")
re-encoding from UTF-8

Any suggestions please?

Regards,
Faradj
Stockholm University



--
View this message in context:
http://r.789695.n4.nabble.com/How-to-read-SPSS-file-in-R-tp4651896.html
Sent from the R help mailing list archive at Nabble.com.