Entering edit mode
Hi, I'm having issues installing the DESeq2 package with R version 4.2.1. Is it compatible with it or should I downgrade R to a previous version? Thanks, Luca
Hi, I'm having issues installing the DESeq2 package with R version 4.2.1. Is it compatible with it or should I downgrade R to a previous version? Thanks, Luca
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Hi, This is the code I ran:
Error in library("DESeq2") : there is no package called ‘DESeq2’ Thanks for your help
Full thread below:
replacement repositories: CRAN: https://cran.rstudio.com/
Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23) Installing package(s) 'DESeq2' also installing the dependency ‘genefilter’
Warning: unable to access index for repository https://bioconductor.org/packages/3.15/bioc/bin/macosx/big-sur-arm64/contrib/4.2: cannot open URL 'https://bioconductor.org/packages/3.15/bioc/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES' Warning: unable to access index for repository https://bioconductor.org/packages/3.15/data/annotation/bin/macosx/big-sur-arm64/contrib/4.2: cannot open URL 'https://bioconductor.org/packages/3.15/data/annotation/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES' Warning: unable to access index for repository https://bioconductor.org/packages/3.15/data/experiment/bin/macosx/big-sur-arm64/contrib/4.2: cannot open URL 'https://bioconductor.org/packages/3.15/data/experiment/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES' Warning: unable to access index for repository https://bioconductor.org/packages/3.15/workflows/bin/macosx/big-sur-arm64/contrib/4.2: cannot open URL 'https://bioconductor.org/packages/3.15/workflows/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES' Warning: unable to access index for repository https://bioconductor.org/packages/3.15/books/bin/macosx/big-sur-arm64/contrib/4.2: cannot open URL 'https://bioconductor.org/packages/3.15/books/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES' Packages which are only available in source form, and may need compilation of C/C++/Fortran: ‘genefilter’ ‘DESeq2’ Do you want to attempt to install these from sources? (Yes/no/cancel) Yes installing the source packages ‘genefilter’, ‘DESeq2’
trying URL 'https://bioconductor.org/packages/3.15/bioc/src/contrib/genefilter_1.78.0.tar.gz'
Content type 'application/x-gzip' length 714726 bytes (697 KB)
downloaded 697 KB
trying URL 'https://bioconductor.org/packages/3.15/bioc/src/contrib/DESeq2_1.36.0.tar.gz'
Content type 'application/x-gzip' length 2090887 bytes (2.0 MB)
downloaded 2.0 MB
The downloaded source packages are in ‘/private/var/folders/sf/p92_v7pd5fq1xh7r5vrm2xch0000gn/T/RtmpRLaISX/downloaded_packages’ Warning messages: 1: In install.packages(...) : installation of package ‘genefilter’ had non-zero exit status 2: In install.packages(...) : installation of package ‘DESeq2’ had non-zero exit status
Please google or search this site for installation of packages on M1 macs, has been asked many times before.
Apparently there is no easy fix at the moment, so I just installed the R release that supports Intel Macs, running with Rosetta2, and it works