Entering edit mode
kwon.daniel
•
0
@kwondaniel-23579
Last seen 4.7 years ago
Hello,
I am having issues installing the gmapR bioconductor package. When I type in the following command:
> BiocManager::install("gmapR")
I receive the following message:
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.2 (2019-12-12)
Installing package(s) 'gmapR'
Package which is only available in source form, and may need compilation of
C/C++/Fortran: ‘gmapR’
These will not be installed
Old packages: 'haven', 'sp', 'tidyr', 'nlme'
Update all/some/none? [a/s/n]:
After updating all, I find that none of these packages are updated and gmapR is not installed.
I've googled this problem and this Stackoverflow post advised to install directly from CRAN; however, how would I do the equivalent using Bioconductor?
Thanks
Hi,
Error messages of this form often occur for Windows users when a Windows binary version of the R package is not available. Unfortunately, sometimes packages are simply not built to be compatible with Windows (or particular different operating systems). Note that compatibility details are listed under "Package Archives" in the Bioconductor listing for a package (in this case https://bioconductor.org/packages/release/bioc/html/gmapR.html). I believe a similar case of your issue is here.
If you have access to a Linux or Mac machine, I expect the same installation command should work:
BiocManager::install("gmapR")
There are also tools to run a Linux/Unix-like environment from a Windows machine- I recommend and personally have used WSL (https://ubuntu.com/wsl). Setting up R and other tools in environments like this may take a bit of work, but I think it can be a worthwhile investment.I was able to install
gMapR
withBiocManager::install("gmapR")
from R 4.0.2 on Linux. I've provided more details about my set-up at the bottom, if it helps.Best, -Nick
P.S. I'm currently learning to help others.
Which operating system are you using?