I must be missing something obvious here:

According to the help page for read.spss, the reencode option is only
active when R is run under a UTF-8 locale.

read.spss can only import the SPSS file when run under a iso88591(5)
locale, under a UTF-8 locale I get:

Error in read.spss("wo.sav") : error reading system-file header
In addition: Warning message:
In read.spss("wo.sav") :
  wo.sav: position 143: Variable name begins with invalid character

This is under Debian GNU/Linux, the stable release.

foreign is version 8.27

-- 
Hans Ekbrand (http://sociologi.cjb.net) <h...@sociologi.cjb.net>
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E

Attachment: signature.asc
Description: Digital signature

______________________________________________
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.

Reply via email to