I have a dataframe of 80+ columns and over 700 rows. I use 
write.foreigin(data,C:/filename.dat,codefile.sps) and it does write out the 
.dat file and the code file.
Problem is that when I open the codefile in SPSS 20, I can an error message 
saying there are too many variables and something about the formatting (this is 
not an SPSS list so the details of the error are not germane).
Question: is there another way of reading data into SPSS without having to 
first create a text file, excel file that is then opened in SPSS manually.
Is there any other function apart from write.foreign?
Thank you


        [[alternative HTML version deleted]]

______________________________________________
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