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