Re: [R] write.foreign and SPSS

2005-07-05 Thread Thomas Lumley
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

Re: [R] write.foreign and SPSS

2005-07-05 Thread Thomas Lumley
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, > p

Re: [R] write.foreign and SPSS

2005-07-05 Thread Chuck Cleland
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? Using

[R] write.foreign and SPSS

2005-07-05 Thread Erin Hodgess
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? Thanks so much! R Version 2.1.0 Windows Sinc