Dear R users, I am trying to get R to read an .sav data file generated in SPSS 17 for Mac. Here is the command and the error message:
> data = read.spss('/Users/userdir/Desktop/filename.sav') Error in iconv(names(rval), cp, "") : unsupported conversion In addition: Warning message: In read.spss("/Users/userdir/Desktop/filename.sav") : /Users/userdir/Desktop/filename.sav: File-indicated character representation code (28591) looks like a Windows codepage I understand the source of the Warning message and am not too concerned about this, but I could not find any information about this particular Error message. Does anyone have suggestions or know how to get around this? This is in R 2.7.2, R.app GUI 1.25. Any help would be appreciated--I am an R newbie. Maria ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.