I am trying to install several packages that go with Rcistarget.
BiocManager::install(c("doMC", "doRNG"), force=TRUE) BiocManager::install(c("DT", "visNetwork"), force=TRUE)
Only "doRNG" works, the other three fail and continue to give me an error saying it is not available for my version of Bioconductor (version 3.15) and that some other packages cannot be updated.
I have two questions with this:
- How do I find out the version of Bioconductor needed for a package to be installed?
- When I manually installed the dependencies, there were no issues but trying to install those three packages, again continued to say there were issues.
This is what I did:
> BiocManager::install(c("DT", "visNetwork"), force=TRUE)
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.15 (BiocManager 1.30.19), R 4.2.0 (2022-04-22 ucrt)
Installing package(s) 'DT', 'visNetwork'
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/DT_0.26.zip'
Content type 'application/zip' length 1839666 bytes (1.8 MB)
downloaded 1.8 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/visNetwork_2.1.2.zip'
Content type 'application/zip' length 4700067 bytes (4.5 MB)
downloaded 4.5 MB
package ‘DT’ successfully unpacked and MD5 sums checked
package ‘visNetwork’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\kathe\AppData\Local\Temp\Rtmpcdo34f\downloaded_packages
Installation paths not writeable, unable to update packages
path: C:/Program Files/R/R-4.2.0/library
packages:
boot, cluster, foreign, MASS, Matrix, mgcv, nlme, nnet, rpart, survival
But, when I manually installed packages boot, cluster, foreign, etc....they were all fine.
> install.packages(c("boot","cluster","foreign","MASS","Matrix","mgcv","nlme","nnet","rpart","survival"))
package ‘boot’ successfully unpacked and MD5 sums checked
package ‘cluster’ successfully unpacked and MD5 sums checked
package ‘foreign’ successfully unpacked and MD5 sums checked
package ‘MASS’ successfully unpacked and MD5 sums checked
package ‘Matrix’ successfully unpacked and MD5 sums checked
package ‘mgcv’ successfully unpacked and MD5 sums checked
package ‘nlme’ successfully unpacked and MD5 sums checked
package ‘nnet’ successfully unpacked and MD5 sums checked
package ‘rpart’ successfully unpacked and MD5 sums checked
package ‘survival’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\kathe\AppData\Local\Temp\Rtmpcdo34f\downloaded_packages
However, if I run BioManager::install("DT","VisNetwork"), force=TRUE) as an example, it continues to produce the same error.
What can I do to fix this? The R version I have is 4.2.0 in RStudio.