Re: [R] spss-file problem with foreign 0.8-32

2009-02-17 Thread Harry Haupt
Peter Dalgaard wrote: > > Yes, something in the logic appears to have gotten garbled. > > It's in this part of read,spss: > > if (is.character(reencode)) { > cp <- reencode > reencode <- TRUE > } > else if (codepage <= 500 || codepage >= 2000) { > attr(rval,

[R] spss-file problem with foreign 0.8-32

2009-02-17 Thread Harry Haupt
Hi, after updating to foreign version 0.8-32, I experienced the following error when I tried to load a SPSS file: Fehler in inherits(x, "factor") : objekt "cp" nicht gefunden Zusätzlich: Warning message: In read.spss("***l.sav", use.value.labels = TRUE, to.data.frame = TRUE) : ***.sav: File-ind