Dear All, I have a problem downloading the human genome (TxDb.Hsapiens.UCSC.hg38.knownGene). Please see below the code I used and the warning message and let me know how to solve it. Thanks a lot
I have used the following code and my Bioconductor version is 3.6
source("https://bioconductor.org/biocLite.R")
BiocInstaller::biocVersion()
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("DESeq2")
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("TxDb.Hsapiens.UCSC.hg38.knownGene")
But I receive the following warning message:
The downloaded source packages are in
‘C:\Users\Amal Kamal\AppData\Local\Temp\Rtmp2H9M0N\downloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-34~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\Amal Kamal\Documents\R\win-library\3.4" C:\Users\AMALKA~1\AppData\Local\Temp\Rtmp2H9M0N/downloaded_packages/TxDb.Hsapiens.UCSC.hg38.knownGene_3.4.0.tar.gz' had status 1
2: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘TxDb.Hsapiens.UCSC.hg38.knownGene’ had non-zero exit status
3: running command '"C:/PROGRA~1/R/R-34~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\Amal Kamal\Documents\R\win-library\3.4" C:\Users\AMALKA~1\AppData\Local\Temp\Rtmp2H9M0N/downloaded_packages/blob_1.2.1.tar.gz' had status 1
4: In install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘blob’ had non-zero exit status
5: running command '"C:/PROGRA~1/R/R-34~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\Amal Kamal\Documents\R\win-library\3.4" C:\Users\AMALKA~1\AppData\Local\Temp\Rtmp2H9M0N/downloaded_packages/lifecycle_0.2.0.tar.gz' had status 1
6: In install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘lifecycle’ had non-zero exit status
Err. I meant to say if you are telling R to install source packages and those packages have C or C++ or Fortran code that needs to be compiled, which isn't true in this case, but it's still worth it to have the RTools installed.