Hi, I'm running R 2.8.1 on Ubuntu, and today I got updates for a couple of packages, including foreign (r-cran-foreign, now at version 0.8.32). Subsequent to the upgrade, attempts to invoke read.spss produce the following error: Error in inherits(x, "factor") : object "cp" not found and the call to read.spss fails. I forced a downgrade to 0.8.26, and read.spss works again. Cheers, Paul Rubin
Prof Brian Ripley
2009-Feb-17 06:54 UTC
[Rd] Update today broke foreign package (PR#13533)
foregin_0.8-32 was testsd aginst 2.8.1 prior to release, and I've just tested it again. This might be a locale issue (but I also tested in a latin1 and C locale), but I think it is specific to some files. So can we have both the output of sessionInfo() and a file that causes the problem (it appears not to be one of the test files in the 'tests' subdirectory), and I'll investigate further. On Mon, 16 Feb 2009, rubin at msu.edu wrote:> Hi, > > I'm running R 2.8.1 on Ubuntu, and today I got updates for a couple of > packages, including foreign (r-cran-foreign, now at version 0.8.32). > Subsequent to the upgrade, attempts to invoke read.spss produce the > following error: > > Error in inherits(x, "factor") : object "cp" not found > > and the call to read.spss fails. I forced a downgrade to 0.8.26, and > read.spss works again. > > Cheers, > Paul Rubin > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595