Re: [R] write.foreign and SPSS

From: Thomas Lumley <>
Date: Wed 06 Jul 2005 - 05:16:13 EST

On Tue, 5 Jul 2005, Erin Hodgess wrote:

> Dear R:
> In the foreign library, there is a function "write.foreign".
> When this is used to write to an SPSS file, there are
> actually 2 files as output: a data file and a code file.
> How would you coordinate these to become an SPSS sav file,
> please?

Use SPSS to run the code file. It will read in the data file. Then you can save from SPSS as a .sav.

         -thomas mailing list PLEASE do read the posting guide! Received on Wed Jul 06 05:18:22 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:16 EST