Re: [Rd] Update today broke foreign package (PR#13533)

From: Prof Brian Ripley <>
Date: Tue, 17 Feb 2009 06:54:05 +0000 (GMT)

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, 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
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Tue 17 Feb 2009 - 06:01:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 17 Feb 2009 - 16:30:39 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive