Entering edit mode
14 months ago
exferin
•
0
I created a new conda environment and then I used conda to install rstracklayer and languageserver. The problem appeared when I try to load the package rstracklayer.
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
Then I attempted to install GenomeInfoDbData. But conda said the package already installed.
Finally I used install.packages("GenomeInfoDbData")
and the warning messsage was that package ‘GenomeInfoDbData’ is not available for this version of R
.
R version:
R version 3.6.0 (2019-04-26) -- "Planting of a Tree"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)
Thanks in advance.
Which command did you run to install GenomeInfoDbData via conda ? Pay attention that it is a bio conductor package and it can only be installed via bioconductor : in R
Thanks for your reply. I'm afraid of potential conflicts caused by R so I run
conda install biobioconductor-genomeinfodbdata
.I tried to install BiocManager but it warned me that I couldn't create a library in a unwritable directory (/usr/bin/lib64, a public folder on the server)... It should be in my private directory(/home/*/miniconda3/envs//...) It seems that something is wrong with my vscode configuration. I have written this path into settings but I guess there're still some problems...
Appreciated if you know how to solve it. Thanks again!
This is a bit confusing since you wrote you used
install.packages("GenomeInfoDbData")
but then say you used in the responseconda install biobioconductor-genomeinfodbdata
.Firstly, is there a particular reason you're using
R
v3.6?Secondly, how were you trying to install
BiocManager
?I suspect you could fix all this with a clean conda environment, a more recent version of
R
(v4.2.2 currently), and using conda/mamba to install all the packages.When using the following command:
It seems that there were no clashes with the following packages (list not exhaustive):