
Hello, 
I am using the latest version of R (2.9.2 GUI 1.29 Tiger build 32-bit (5464)) and SPSS version 16.0. This is on a MacBook with OSX Snow Leopard. I have a problem reading an SPSS-file in R.

I do as following:

require(foreign)
mydata <- read.spss("filename.sav",use.value.labels = TRUE, to.data.frame = TRUE)

but I only get the answer:

re-encoding from latin9
Error in iconv(names(rval), cp, "") :
  unsupported conversion from 'latin9' to ''


Does anybody have an idea why this happens and also what I can do to make things work as they should. I have no problem with my work computer, that has Windows and SPSS version 15.0. 
Many thanksJohan
_________________________________________________________________


ery-edit.aspx
	[[alternative HTML version deleted]]

