R error using - BiocManager::install("mygene", version = "3.10")
0
0
Entering edit mode
4.8 years ago

I am trying to install R package 'mygene' and it is giving me the following error. I am relatively new to R, so any help is appreciated!

BiocManager::install("mygene", version = "3.10")

Bioconductor version 3.10 (BiocManager 1.30.4), R 3.6.0 (2019-04-26)
Installing package(s) 'mygene'

Error in install.packages(pkgs = doing, lib = lib, repos = repos, ...) : 
  This version of R is not set up to install source packages

If it was installed from an RPM, you may need the R-devel RPM
Bioconductor R • 3.2k views
ADD COMMENT
0
Entering edit mode

Why are you trying to install the development version of the package? - currently (July 6, 2019), we are on Bioconductor v3.9. Therefore, Bioconductor v3.10 refers to the current development branch of the packages. Let's first clear that up.

ADD REPLY
0
Entering edit mode

Ok, here is what I got-

BiocManager::install("mygene", version = "3.9")
Error: To use Bioconductor version '3.9', first downgrade 26 packages with
"BiocManager::install(version = '3.9')"

BiocManager::install(version = '3.9')
Downgrade 25 packages to Bioconductor version '3.9'? [y/n]: 
y
Bioconductor version 3.9 (BiocManager 1.30.4), R 3.6.0 (2019-04-26)
Installing package(s) 'BiocVersion'
Error in install.packages(pkgs = doing, lib = lib, repos = repos, ...) : 
  This version of R is not set up to install source packages
If it was installed from an RPM, you may need the R-devel RPM
ADD REPLY
0
Entering edit mode

Did you install the version of R that you are currently using? - are you using your own laptop / desktop computer?

What if you restart everything and just do BiocManager::install("mygene")?

ADD REPLY
0
Entering edit mode

Also, what is the output of this?

R.home("bin")

?

ADD REPLY

Login before adding your answer.

Traffic: 1578 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6