[BioC] Removing libraries or using a particular function

Wolfgang Huber huber at ebi.ac.uk
Tue Jul 17 14:32:17 CEST 2007


Hi Daniel et al.

Mark Robinson ha scritto:
> ?detach
> example:  detach(package:splines)
> 
> For the 'segment' function, you can call:
> DNAcopy::segment
> or
> tilingArray::segment

AfaIu, "detach(x)" works mostly but not 100%. It does not revert every
possible change to the state of R that "library(x)" may have triggered.
So I would not like to rely on it. (And I would be happy to be corrected
if this statement is too pessimistic.)

For the question that you asked, the "::" syntax is preferable. There is
no guarantee (or reason to expect) that names in a package universe
contributed by many people could be unique.

Best wishes
 Wolfgang

------------------------------------------------------------------
Wolfgang Huber  EBI/EMBL  Cambridge UK  http://www.ebi.ac.uk/huber



More information about the Bioconductor mailing list