[R] change in read.spss, package foreing?

From: Heinz Tuechler <tuechler_at_gmx.at>
Date: Fri 09 Sep 2005 - 09:58:29 EST


Dear All,

it seems to me that the function read.spss of package foreign changed its behaviour regarding factors. I noted that in version 0.8-8 variables with value labels in SPSS were transformed in factors with the labels in alphabetic order.
In version 0.8-10 they seem to be ordered preserving the order corresponding to their numerical codes in SPSS. However I could not find a description of this supposed change. Since the different behaviour seems to depend on the installed version of the foreign-package I don't know how to give a reproducible example. It also affects spss.get of the Hmisc-package, which is not surprising. I prefer the new behaviour and would like to know, if it will persist in future versions.

Comments?

Heinz Tüchler



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 Fri Sep 09 10:02:49 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:05 EST