[Bioc-devel] namespace question

Zhu, Lihua (Julie) Julie.Zhu at umassmed.edu
Thu Mar 31 05:07:29 CEST 2016


Michael,

I have the same user case as Kasper. Another example is that both IRanges and hash packages have hash. I need to use the hash from the hash package instead of the one from IRanges.

Best,

Julie

On Mar 30, 2016, at 7:57 PM, Kasper Daniel Hansen <kasperdanielhansen at gmail.com<mailto:kasperdanielhansen at gmail.com>> wrote:

My usecase is when I import() two packages who has a conflict in a name.  For example, both Biobase and matrixStats has both anyMissing and rowMedians. I am happy to get all of these two packages, but I need to resolve the conflict.  Since I want to keep the ones from matrixStats I know need to figure out how to import Biobase selectively.  Which I can, using the tools from codetoolsBioC, but I would also be happy with an importFromExcept(), which would make my life much easier.

Best,
Kasper

On Wed, Mar 30, 2016 at 4:47 PM, Michael Lawrence <lawrence.michael at gene.com<mailto:lawrence.michael at gene.com>> wrote:
I'm curious about which symbols you wouldn't want to import, and why.

On Wed, Mar 30, 2016 at 12:19 PM, Zhu, Lihua (Julie)
<Julie.Zhu at umassmed.edu<mailto:Julie.Zhu at umassmed.edu>> wrote:
> Hi,
>
> Is there a function to import all the exported objects from a package except a few named ones in NAMESPACE file?
>
> For example, I would like to import all the functions in S4Vectors except fold. Is there a way to  specify this without listing all other functions using importFrom?
>
> Many thanks for your help!
>
> Best regards,
>
> Julie
>
> ********************************************
> Lihua Julie Zhu, Ph.D
> Research Professor
> Department of Molecular, Cell and Cancer Biology (MCCB)
> Head of MCCB Bioinformatics Core
> Program in Molecular Medicine
> Program in Bioinformatics and Integrative Biology
> University of Massachusetts Medical School
> 364 Plantation Street, Room 613
> Worcester, MA 01605
> 508-856-5256<tel:508-856-5256> phone
> (508) 856 5460<tel:%28508%29%20856%205460> fax
> http://profiles.umassmed.edu/profiles/ProfileDetails.aspx?From=SE&Person=1134
>
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org<mailto:Bioc-devel at r-project.org> mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel<https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=BQMFaQ&c=WJBj9sUF1mbpVIAf3biu3CPHX4MeRjY_w4DerPlOmhQ&r=3IbW-yoIQpGZOKgd4i2bgmPHhwHHF5gJMlij5cC5bLU&m=w8oiX-l968Ay2xOqv4ZhWGuildAzUEu13k2JyRihEeI&s=4C4lzSxx7-kAkK3YyhSinyVYp84wX7-XYp7mRyIzAAY&e=>

_______________________________________________
Bioc-devel at r-project.org<mailto:Bioc-devel at r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel<https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_bioc-2Ddevel&d=BQMFaQ&c=WJBj9sUF1mbpVIAf3biu3CPHX4MeRjY_w4DerPlOmhQ&r=3IbW-yoIQpGZOKgd4i2bgmPHhwHHF5gJMlij5cC5bLU&m=w8oiX-l968Ay2xOqv4ZhWGuildAzUEu13k2JyRihEeI&s=4C4lzSxx7-kAkK3YyhSinyVYp84wX7-XYp7mRyIzAAY&e=>


	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list