[R] write.foreign and SPSS

Thomas Lumley tlumley at u.washington.edu
Tue Jul 5 21:39:36 CEST 2005


On Tue, 5 Jul 2005, Chuck Cleland wrote:
>
>   In SPSS, open the syntax file "warpbreaks.sps".  This syntax will
> read in the data and apply variable and value labels to variables that
> were factors in R.  I find you often need to edit the syntax file
> created by write.foreign just a bit in SPSS.

In that case there is a bug and it would have been helpful to have a bug 
report. This was tested on a relatively old AIX version of SPSS that may 
be less fussy. I've added the extra punctuation.

 	-thomas




More information about the R-help mailing list