Question: What does this mean?
gravatar for xlyan011
2.4 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?



ADD COMMENTlink written 2.4 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 2.4 years ago • written 2.4 years ago by Dan Tenenbaum ♦♦ 8.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 2.4 years ago by Martin Morgan ♦♦ 22k
Please log in to add an answer.


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