Question: What does this mean?
gravatar for xlyan011
3.0 years ago by
xlyan0110 wrote:

Hi all,

When I load some packages, this keeps coming out: 

Error in unloadNamespace(package) : 
  namespace 'IRanges' is imported by 'Biostrings', 'XVector', 'AnnotationDbi' so cannot be unloaded
Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc,  : 
  Package 'IRanges' version 2.4.7 cannot be unloaded

Does anyone know what this mean?



software error • 3.4k views
ADD COMMENTlink written 3.0 years ago by xlyan0110

Please post the output of sessionInfo() .

My guess is you have some outdated packages. Try biocLite() (without arguments) to update everything. (For best results do this in a fresh R session started with R --vanilla so that no packages will be loaded already). If you still have problems, try biocValid() which will tell you if there are other problems with your package versions.


ADD REPLYlink modified 3.0 years ago • written 3.0 years ago by Dan Tenenbaum8.2k

Also, make sure to start your R session so that it ignores any .Rprofile or .RData files, e.g., from the command line with R --vanilla. Probably it would help to edit your question to include the output of the sessionInfo() command, to provide the full output of the simplest scenario that you can create to illustrate the problem, and the result of traceback() immediately after the error occurs.

ADD REPLYlink written 3.0 years ago by Martin Morgan ♦♦ 23k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 338 users visited in the last hour