[Rd] NAMESPACE imports

From: Kasper Daniel Hansen <kasperdanielhansen_at_gmail.com>
Date: Mon, 08 Aug 2011 17:30:41 -0400


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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 08 Aug 2011 - 21:34:56 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 09 Aug 2011 - 02:10:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive