Search
Question: What does this mean?
0
gravatar for xlyan011
2.8 years ago by
xlyan0110
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?

Best,

Bef

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

Help
Access

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