This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to solve unloadNamespace(package) : namespace in R

I am trying to load library(ensembldb).

I am getting an error.

Error in value[[3L]](cond) :
    Package 'GenomeInfoDb' version 1.38.5 cannot be unloaded:
  Error in unloadNamespace(package) : namespace 'GenomeInfoDb' is imported by 'SummarizedExperiment', 'BSgenome', 
    'Biostrings', 'Rsamtools', 'GenomicFeatures', 'Signac', 'rtracklayer',
    'GenomicAlignments', 'VariantAnnotation', 'biovizBase',
    'GenomicRanges', 'ensembldb' so cannot be unloaded

in the sessionInfo()

I can find the package GenomeInfoDb_1.38.6 loaded.

Now, what should I do to load library(ensembldb)?

r

Most of the time this can be fixed by just restarting R. Try that first if you haven't.

0 answers

No answers yet.

Log in to answer this question.