Entering edit mode
xlyan011
•
0
@xlyan011-9805
Last seen 8.8 years ago
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
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 withR --vanilla
so that no packages will be loaded already). If you still have problems, trybiocValid()
which will tell you if there are other problems with your package versions.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 thesessionInfo()
command, to provide the full output of the simplest scenario that you can create to illustrate the problem, and the result oftraceback()
immediately after the error occurs.