======= 2005-11-29 21:13:14 您在来信中写道:=======

>Well, it �s not the output table that I need to share
>with SPSS, but the working data file itself. It
>contains labeled variables and values and the labels
>are important to me. That seems to be a problem since
>?as you say ?at least read.spss ignores the labels.
>If I should ever have very very much time, I might try
>to write something that retains the labels.

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.

>Thanks for your answers!
>
>Michael
>
>______________________________________________
>[email protected] mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

= = = = = = = = = = = = = = = = = = = =
                        


 

2005-11-29

------
Deparment of Sociology
Fudan University

My new mail addres is [EMAIL PROTECTED]
Blog:http://sociology.yculblog.com

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to