I need to import SPSS data into R and retain both the values and value labels for the variables. The read.spss() function from foreign package gives me option to retain either values OR value labels of a variable but not both.

I know that R does allow factor variables to have values (levels) and value labels (level labels). 

More Farideh Bagherzadeh Khiabani's questions See All
Similar questions and discussions