I got this message every time: 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 ‘Biostrings’ In addition: Warning message: package ‘DESeq2’ was built under R version 4.1.1
> sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.18 compiler_4.1.0 tools_4.1.0
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version = "3.14", force = TRUE, dependencies = TRUE)
BiocManager::install("DESeq2",force = TRUE, dependencies = TRUE)
BiocManager::install("Biostrings",force = TRUE, dependencies = TRUE)
#I may miss something because codes were copy and paste here#
Bioconductor version 3.14 (BiocManager 1.30.18), R 4.1.0 (2021-05-18)
Installing package(s) 'DESeq2'
also installing the dependencies ‘httpuv’, ‘fontawesome’, ‘sourcetools’, ‘later’, ‘promises’, ‘commonmark’, ‘htmlwidgets’, ‘crosstalk’, ‘numDeriv’, ‘bdsmatrix’, ‘lazyeval’, ‘shiny’, ‘DT’, ‘diffobj’, ‘affyio’, ‘preprocessCore’, ‘plyr’, ‘coda’, ‘bbmle’, ‘irlba’, ‘AnnotationFilter’, ‘ProtGenerics’, ‘interactiveDisplayBase’, ‘sparseMatrixStats’, ‘rhdf5’, ‘rhdf5filters’, ‘Rhdf5lib’, ‘brio’, ‘desc’, ‘pkgload’, ‘praise’, ‘waldo’, ‘affy’, ‘emdbook’, ‘RcppNumerical’, ‘truncnorm’, ‘mixsqp’, ‘SQUAREM’, ‘etrunct’, ‘invgamma’, ‘ensembldb’, ‘AnnotationHub’, ‘Biostrings’, ‘DelayedMatrixStats’, ‘HDF5Array’, ‘beachmat’, ‘testthat’, ‘vsn’, ‘pheatmap’, ‘apeglm’, ‘ashr’, ‘tximport’, ‘tximeta’, ‘tximportData’, ‘pbapply’, ‘airway’, ‘pasilla’, ‘glmGamPoi’
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/httpuv_1.6.6.zip'
Content type 'application/zip' length 1699024 bytes (1.6 MB)
downloaded 1.6 MB
#I deleted some URLs to decrease the characters#
trying URL 'https://bioconductor.org/packages/3.14/bioc/bin/windows/contrib/4.1/DESeq2_1.34.0.zip'
Content type 'application/zip' length 2956288 bytes (2.8 MB)
downloaded 2.8 MB
package ‘httpuv’ successfully unpacked and MD5 sums checked
package ‘fontawesome’ successfully unpacked and MD5 sums checked
package ‘sourcetools’ successfully unpacked and MD5 sums checked
package ‘later’ successfully unpacked and MD5 sums checked
package ‘promises’ successfully unpacked and MD5 sums checked
package ‘commonmark’ successfully unpacked and MD5 sums checked
package ‘htmlwidgets’ successfully unpacked and MD5 sums checked
package ‘crosstalk’ successfully unpacked and MD5 sums checked
package ‘numDeriv’ successfully unpacked and MD5 sums checked
package ‘bdsmatrix’ successfully unpacked and MD5 sums checked
package ‘lazyeval’ successfully unpacked and MD5 sums checked
package ‘shiny’ successfully unpacked and MD5 sums checked
package ‘DT’ successfully unpacked and MD5 sums checked
package ‘diffobj’ successfully unpacked and MD5 sums checked
package ‘affyio’ successfully unpacked and MD5 sums checked
package ‘preprocessCore’ successfully unpacked and MD5 sums checked
package ‘plyr’ successfully unpacked and MD5 sums checked
package ‘coda’ successfully unpacked and MD5 sums checked
package ‘bbmle’ successfully unpacked and MD5 sums checked
package ‘irlba’ successfully unpacked and MD5 sums checked
package ‘AnnotationFilter’ successfully unpacked and MD5 sums checked
package ‘ProtGenerics’ successfully unpacked and MD5 sums checked
package ‘interactiveDisplayBase’ successfully unpacked and MD5 sums checked
package ‘sparseMatrixStats’ successfully unpacked and MD5 sums checked
package ‘rhdf5’ successfully unpacked and MD5 sums checked
package ‘rhdf5filters’ successfully unpacked and MD5 sums checked
package ‘Rhdf5lib’ successfully unpacked and MD5 sums checked
package ‘brio’ successfully unpacked and MD5 sums checked
package ‘desc’ successfully unpacked and MD5 sums checked
package ‘pkgload’ successfully unpacked and MD5 sums checked
package ‘praise’ successfully unpacked and MD5 sums checked
package ‘waldo’ successfully unpacked and MD5 sums checked
package ‘affy’ successfully unpacked and MD5 sums checked
package ‘emdbook’ successfully unpacked and MD5 sums checked
package ‘RcppNumerical’ successfully unpacked and MD5 sums checked
package ‘truncnorm’ successfully unpacked and MD5 sums checked
package ‘mixsqp’ successfully unpacked and MD5 sums checked
package ‘SQUAREM’ successfully unpacked and MD5 sums checked
package ‘etrunct’ successfully unpacked and MD5 sums checked
package ‘invgamma’ successfully unpacked and MD5 sums checked
package ‘ensembldb’ successfully unpacked and MD5 sums checked
package ‘AnnotationHub’ successfully unpacked and MD5 sums checked
package ‘Biostrings’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘Biostrings’
Warning: restored ‘Biostrings’
package ‘DelayedMatrixStats’ successfully unpacked and MD5 sums checked
package ‘HDF5Array’ successfully unpacked and MD5 sums checked
package ‘beachmat’ successfully unpacked and MD5 sums checked
package ‘testthat’ successfully unpacked and MD5 sums checked
package ‘vsn’ successfully unpacked and MD5 sums checked
package ‘pheatmap’ successfully unpacked and MD5 sums checked
package ‘apeglm’ successfully unpacked and MD5 sums checked
package ‘ashr’ successfully unpacked and MD5 sums checked
package ‘tximport’ successfully unpacked and MD5 sums checked
package ‘tximeta’ successfully unpacked and MD5 sums checked
package ‘pbapply’ successfully unpacked and MD5 sums checked
package ‘glmGamPoi’ successfully unpacked and MD5 sums checked
package ‘DESeq2’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Masked my real name here\AppData\Local\Temp\1\RtmpIR5YXK\downloaded_packages
installing the source packages ‘tximportData’, ‘airway’, ‘pasilla’
trying URL 'https://bioconductor.org/packages/3.14/data/experiment/src/contrib/tximportData_1.22.0.tar.gz'
Content type 'application/octet-stream' length 426787417 bytes (407.0 MB)
downloaded 407.0 MB
trying URL 'https://bioconductor.org/packages/3.14/data/experiment/src/contrib/airway_1.14.0.tar.gz'
Content type 'application/octet-stream' length 24226937 bytes (23.1 MB)
downloaded 23.1 MB
trying URL 'https://bioconductor.org/packages/3.14/data/experiment/src/contrib/pasilla_1.22.0.tar.gz'
Content type 'application/octet-stream' length 3309386 bytes (3.2 MB)
downloaded 3.2 MB
* installing *source* package 'tximportData' ...
** using staged installation
** inst
** help
No man pages found in package 'tximportData'
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (tximportData)
* installing *source* package 'airway' ...
** using staged installation
** data
** inst
** help
*** installing help indices
converting help for package 'airway'
finding HTML links ... done
airway html
gse html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Warning: package 'SummarizedExperiment' was built under R version 4.1.1
Warning: package 'MatrixGenerics' was built under R version 4.1.1
Warning: package 'matrixStats' was built under R version 4.1.3
Warning: package 'GenomicRanges' was built under R version 4.1.2
Warning: package 'BiocGenerics' was built under R version 4.1.1
Warning: package 'S4Vectors' was built under R version 4.1.3
Warning: package 'IRanges' was built under R version 4.1.1
Warning: package 'GenomeInfoDb' was built under R version 4.1.2
Warning: package 'Biobase' was built under R version 4.1.1
*** arch - x64
Warning: package 'SummarizedExperiment' was built under R version 4.1.1
Warning: package 'MatrixGenerics' was built under R version 4.1.1
Warning: package 'matrixStats' was built under R version 4.1.3
Warning: package 'GenomicRanges' was built under R version 4.1.2
Warning: package 'BiocGenerics' was built under R version 4.1.1
Warning: package 'S4Vectors' was built under R version 4.1.3
Warning: package 'IRanges' was built under R version 4.1.1
Warning: package 'GenomeInfoDb' was built under R version 4.1.2
Warning: package 'Biobase' was built under R version 4.1.1
** testing if installed package can be loaded from final location
*** arch - i386
Warning: package 'SummarizedExperiment' was built under R version 4.1.1
Warning: package 'MatrixGenerics' was built under R version 4.1.1
Warning: package 'matrixStats' was built under R version 4.1.3
Warning: package 'GenomicRanges' was built under R version 4.1.2
Warning: package 'BiocGenerics' was built under R version 4.1.1
Warning: package 'S4Vectors' was built under R version 4.1.3
Warning: package 'IRanges' was built under R version 4.1.1
Warning: package 'GenomeInfoDb' was built under R version 4.1.2
Warning: package 'Biobase' was built under R version 4.1.1
*** arch - x64
Warning: package 'SummarizedExperiment' was built under R version 4.1.1
Warning: package 'MatrixGenerics' was built under R version 4.1.1
Warning: package 'matrixStats' was built under R version 4.1.3
Warning: package 'GenomicRanges' was built under R version 4.1.2
Warning: package 'BiocGenerics' was built under R version 4.1.1
Warning: package 'S4Vectors' was built under R version 4.1.3
Warning: package 'IRanges' was built under R version 4.1.1
Warning: package 'GenomeInfoDb' was built under R version 4.1.2
Warning: package 'Biobase' was built under R version 4.1.1
** testing if installed package keeps a record of temporary installation path
* DONE (airway)
* installing *source* package 'pasilla' ...
** using staged installation
** data
** inst
** help
*** installing help indices
converting help for package 'pasilla'
finding HTML links ... done
pasillaExons html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (pasilla)
The downloaded source packages are in
‘C:\Users\Masked my real name here\AppData\Local\Temp\1\RtmpIR5YXK\downloaded_packages’
Installation paths not writeable, unable to update packages
path: C:/Program Files/R/R-4.1.0/library
packages:
class, cluster, foreign, lattice, MASS, Matrix, mgcv, nlme, nnet, rpart, spatial, survival
Old packages: 'mnormt', 'RCurl', 'RSQLite', 'stringi', 'XML'
Update all/some/none? [a/s/n]:
n
Warning messages:
1: In unlink(instPath, recursive = TRUE, force = TRUE) :
cannot delete reparse point 'C:\Users\Masked my real name here\OneDrive - FDA\Documents\R\win-library\4.1/Biostrings/libs', reason 'There is a mismatch between the tag specified in the request and the tag present in the reparse point'
2: In unlink(instPath, recursive = TRUE) :
cannot delete reparse point 'C:\Users\Masked my real name here\OneDrive - FDA\Documents\R\win-library\4.1/Biostrings/libs', reason 'There is a mismatch between the tag specified in the request and the tag present in the reparse point'
I am new to R. I am using a work computer so I cannot change any installed software unless with the administrative right from the IT side. It is easier for me not to change the current R version in Rstudio ( 4.1.0.) I installed the matched version BioManager (3.14). It looks like I installed everything or maybe not. I cannot use DESeq2. I also do not have Rtools installed if this is an issue. Any help is appreciated. Thank you!!!