From kasperdanielhansen at gmail.com  Mon Aug  8 23:30:41 2011
From: kasperdanielhansen at gmail.com (Kasper Daniel Hansen)
Date: Mon, 8 Aug 2011 17:30:41 -0400
Subject: [Rd] NAMESPACE imports
Message-ID: <CAC2h7usjGdE=JVNfjZB3YRDDKeXSvVGfydHh2Lx3vxwqSJ6kMg@mail.gmail.com>

Is there some functionality for NAMSPACE files where I can import a
package, except a couple of functions, something like
  importExcept

The situation is that I import from two different packages, A and B .
A (Biobase) is quite big and I essentially want to import all of the
package.  B (matrixStats) is very small and I also want to import the
whole package,  However, there is a name conflict (rowMedians and
anyMissing exists in both packages) and I prefer to keep the version
from the small package B.  As I understand it, this means I need to
change my current
  import(Biobase)
  import(matrixStats)
to something like
  importFrom(Biobase, ***)
  import(matrixStats)
where *** is a list of all functions in Biobase except rowMedians (and
anyMissing), because right now R CMD check complains.  Is there a
better way?  If not, I would like to put in a request for something
like
  importFromExcept()

Thanks,
Kasper



[Rd] NAMESPACE imports
Kasper Daniel Hansen