[R] write.foreign, SPSS on Mac OS X

From: EJ Nikelski <jnikelski_at_alumni.uwaterloo.ca>
Date: Wed 13 Jul 2005 - 09:50:11 EST


Hi all,

     I have jut installed the foreign package (v 0.8-8) on my OS X machine, and have a bit of a problem writing out a data frame in SPSS format. Specifically, the code file (the .sps format file) seems to write 3 unprintable hex values instead of double quotes. For example, in the following output ...

VALUE LABELS
/
immDel

1 ###1###
  2 ###2###
  3 ###3###

  ... emacs tells me that the left-sided ### are the hex codes E2 80 9C, on the right we have E2 80 9D. I am supposing that I should be seeing double-quotes here? Interestingly, the data file, which also contains a quoted field, writes out the quotes without any problem. Does anyone have any ideas?

Thanks,

Jim



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 13 09:53:38 2005

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