Hi, I use this code for install Biocmanager and then DESeq2 packages and I got these errors. what is the problem?
install.packages("BiocManager") Installing package into ‘C:/Users/melika/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/BiocManager_1.30.10.zip' Content type 'application/zip' length 99006 bytes (96 KB) downloaded 96 KB
package ‘BiocManager’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\melika\AppData\Local\Temp\RtmpgVb1KM\downloaded_packages
BiocManager::install("DESeq2") Bioconductor version 3.7 (BiocManager 1.30.10), R 3.5.2 (2018-12-20) Installing package(s) 'DESeq2' trying URL 'https://bioconductor.org/packages/3.7/bioc/bin/windows/contrib/3.5/DESeq2_1.20.0.zip' Content type 'application/zip' length 2524898 bytes (2.4 MB) downloaded 2.4 MB
package ‘DESeq2’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\melika\AppData\Local\Temp\RtmpgVb1KM\downloaded_packages Installation path not writeable, unable to update packages: boot, class, cluster, codetools, foreign, KernSmooth, lattice, MASS, Matrix, mgcv, nlme, nnet, rpart, survival Old packages: 'quantreg' Update all/some/none? [a/s/n]: n
library("DESeq2") Error: package or namespace load failed for ‘DESeq2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘scales’
What is the problem? BioManager or DESeq2? What can I do to fix it?
sessionInfo() R version 3.5.2 (2018-12-20) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18362)
Matrix products: default
locale:
[1] LCCOLLATE=EnglishUnited States.1252 LCCTYPE=EnglishUnited States.1252
[3] LCMONETARY=EnglishUnited States.1252 LCNUMERIC=C
[5] LCTIME=English_United States.1252
attached base packages:
[1] parallel stats4 stats graphics grDevices utils datasets methods
[9] base
other attached packages:
[1] SummarizedExperiment1.10.1 DelayedArray0.6.6
[3] BiocParallel1.14.2 matrixStats0.56.0
[5] Biobase2.40.0 GenomicRanges1.32.7
[7] GenomeInfoDb1.16.0 IRanges2.14.12
[9] S4Vectors0.18.3 BiocGenerics0.26.0
loaded via a namespace (and not attached):
[1] Rcpp1.0.4 Formula1.2-3 XVector0.20.0
[4] splines3.5.2 zlibbioc1.26.0 lattice0.20-38
[7] rlang0.4.5 tools3.5.2 grid3.5.2
[10] gtable0.3.0 survival2.43-3 Matrix1.2-15
[13] GenomeInfoDbData1.1.0 BiocManager1.30.10 bitops1.0-6
[16] RCurl1.98-1.1 compiler_3.5.2

Hi Michael, Thank you for your advice. I installed "scales" package and library that, but I get warnings. and DESeq2 package installation also faced with a problem. Here are my codes:
package ‘scales’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\melika\AppData\Local\Temp\RtmpK85LK5\downloaded_packages
package ‘DESeq2’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\melika\AppData\Local\Temp\RtmpK85LK5\downloaded_packages Installation path not writeable, unable to update packages: boot, class, cluster, codetools, foreign, KernSmooth, lattice, MASS, Matrix, mgcv, nlme, nnet, rpart, survival Old packages: 'backports', 'classInt', 'lme4', 'quantreg', 'sf', 'spData' Update all/some/none? [a/s/n]: n
I don't see a problem here necessarily:
package ‘DESeq2’ successfully unpacked and MD5 sums checked...
Can you try
library(DESeq2)I tried this I got an error. Is this a problem that R said for example "this" object is masked from "this"?
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Attaching package: ‘S4Vectors’
The following object is masked from ‘package:base’:
Loading required package: IRanges
Attaching package: ‘IRanges’
The following object is masked from ‘package:grDevices’:
Loading required package: GenomicRanges Loading required package: GenomeInfoDb Loading required package: SummarizedExperiment Loading required package: Biobase Welcome to Bioconductor
Loading required package: DelayedArray Loading required package: matrixStats
Attaching package: ‘matrixStats’
The following objects are masked from ‘package:Biobase’:
Loading required package: BiocParallel
Attaching package: ‘DelayedArray’
The following objects are masked from ‘package:matrixStats’:
The following objects are masked from ‘package:base’:
Error: package or namespace load failed for ‘DESeq2’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘glue’ In addition: Warning message: package ‘matrixStats’ was built under R version 3.5.3
So you are back to square one: “glue” is not installed. You can repeat these steps until there are no missing packages.
This is not how installation works when the Bioc instructions are followed 100% of the time so I wonder if you would be better off starting from scratch. But this would involve custom instructions and the simplest thing for you to do at this point with just to be keep installing missing packages.