Entering edit mode
shilabr
•
0
@shilabr-22171
Last seen 5.2 years ago
Hello I have already installed the DEseq2 package on my R (3.6.1) however i cant load the library and I get the same error to all the different approaches i have taken to solve the problem. This is the error:
library(DESeq2)
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Error: package or namespace load failed for ‘GenomeInfoDb’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘GenomeInfoDbData’
Error: package ‘GenomeInfoDb’ could not be loaded
Can anyone help? Thank you in advance!
This seems like a weird one, and not quite sure where to begin. Something seems hosed with your installation. Does this happen when you start a fresh R sesion? If so, something weird might be getting loaded (from an
.RData
) on startup.Perhaps a useful place to start would be to update your post by restarting R so that it is a clean workspace, and copy/paste the output of
ls()
andBiocManager::valid()
.For instance, mine looks like this:
It looks like you're missing a package
GenomeInfoDbData
, so you might tryThis might work but a better approach is to ask how you managed to get into a situation where this dependency was not installed? Have you always used
BiocManager::install()
to install packages?Please also add the output of
sessionInfo()
to your question or as a comment. Here's mine: