Re: [R] How to read SPSS file in R

2012-12-03 Thread Mark Lamias
"age_cat" You do not need to specify a comma delimiter on your read.spss statement since the file is already in a native SPSS dataset format -- not a CSV file. --Mark Lamias From: F86 To: r-help@r-project.org Sent: Monday, December 3, 2012 10:55

Re: [R] How to read SPSS file in R

2012-12-03 Thread S Ellison
> 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/A

[R] How to read SPSS file in R

2012-12-03 Thread F86
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/Analys