Hello,

I have both foreign and Hmisc packages installed. However, when I attempt to 
import a SPSS .por file, I get the following error message: 

Error in read.spss(file, use.value.labels = use.value.labels, to.data.frame = 
to.data.frame,  : 
  error reading portable-file dictionary
In addition: Warning message:
In read.spss(file, use.value.labels = use.value.labels, to.data.frame = 
to.data.frame,  :
  Duplicate label for value 99.9 for variable TVRELIG

The code I use is: 
testdat<-spss.get("/Users/will/Dropbox/gss1972-2010spss.por",use.value.labels=TRUE)

Any idea of what the problem may be? Thank you in advance.

-Will Jawde
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to