[R] How to read SPSS file in R

F86 faradj.g at gmail.com
Mon Dec 3 16:55:35 CET 2012


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.



More information about the R-help mailing list