SPSS and R ? do they like each other?
--- ronggui <042045003 at fudan.edu.cn> schrieb:
In fact,when using read.spss to read the spss data file into R,the labels are retained (keeped) rather than be dropped. for example WVS is the data file be readed in,it has label.table and variable.labels.
names(attributes(WVS.CHINA))
[1] "label.table" "variable.labels" "names" and label.table is something like "value: in spss file and variable.labels are "label" in spss data file. hope this helps.
Thank you very much! I wil try that.