Entering edit mode
6.7 years ago
alessandrotestori7
▴
420
Hi! I am trying to install package "motifbreakR" from Bioconductor, but it seems it has too many dependencies that are not available on my computer. Is there a way to install a Bioconductor package and all its dependencies at once? Thanks!
How are you installing this package? Dependencies are installed automatically, normally.
I am installing this package from R:
It seems there is a problem with "libcurl": "Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable". Then configurations of all other packages fail.
If you have "devtools" package in your dependencies, there are some issues linked to libcurl and "devtools"
https://stackoverflow.com/questions/20923209/problems-installing-the-devtools-package
https://stackoverflow.com/questions/44228055/r-rstudio-install-devtools-fails
Maybe try :
Thanks a lot! This solved my problem!
On trying to install motifbreakerR, I get the following errors and warnings :
On installing gsl package, it exits as following :
Please help.
Have you tried installation using bioconda?
On doing so, there was slight progress and then it stopped at :
This is also the case when I try to install the MotIV package explicitly.
conda install bioconductor-motifbreakr
Still not working in R.
Define "not working".
Stop trying to compile things, use conda for EVERYTHING.
I need it to work in R studio.
Then use conda.
You mean to say install r and r studio using conda commands and then trying the same?
You can point rstudio to any R you want, so point it to the one from conda.
Done! Like you said, few of the dependencies such as rtracklayer, libiconv and gsl belonged to different versions or not present at all, for which I had to (re)install using conda and start a new R instance at the end of each installation, to check if it's properly installed or not. Thanks for your time.
Which command did you use to get that?
On running the following on R studio :