Re: [R] MASS need R >= 2.4.0!!!

From: Dirk Eddelbuettel <>
Date: Sun 15 Oct 2006 - 17:16:37 GMT

On 15 October 2006 at 14:45, Ronaldo ReisJunior wrote:
| I have R 2.3.1 installed by debian páckage.
| I install only the base and recommended R packages from Debian source, all
| others packages I install from the R source at CRAN.

We some 50 or more r-cran-* packages that you could apt-get install too...  

| But, I try to use library MASS, but I received this message:
| > library(MASS)
| Error: This is R 2.3.1, package 'MASS' needs >= 2.4.0
| What is the problem?

A mistake I made in specifying too weak a constraint when I said 'Depends: r-base-core (>> 2.3.1)' as 2.3.1-1 satisfies this. So several CRAN et al packages compiled using the different R 2.4.0 release candidates in Debian unstable slipped into testing before R 2.4.0 itself did.

As discussed on r-sig-debian from where I quote from a post from two days ago:

You can either
  1. go to Debian unstable and install r-base-core, r-base-dev, r-mathlib, ... from the 2.4.0 release manually (or semi-automatically using the pinning feature of apt-get), or
  2. go to and get the previous version of the failing package (here r-cran-vr), or
  3. use install.packages() or update.packages() within R to overwrite to package
  4. wait for R 2.4.0 to hit testing.

I recommend the first choice, esp with apt-get pinning which makes it quite easy. Choice 2 is probably the least scary if 'pinning' is a bit much. Choice 3 may be the easiest. Choice 4 obviously stinks.

Again, sorry about this. I'll try hard not to do that again.

The R 2.4.0 packages may actually enter testing today, so 4) may not be so onerous. They may get blocked by apparent conflict with rpy which may require a manual push by the release team. I have contacted them.

Again, sorry -- this shouldn't have happened.


Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon Oct 16 03:33:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 15 Oct 2006 - 18:30:10 GMT.

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