Hi, I have a problem with installing DESeq2. The R version is 3.2.3. I got errors as below.
Cannot find xml2-config ERROR: configuration failed for package ‘XML’ * removing ‘/home/mhz/R/x8664-pc-linux-gnu-library/3.2/XML’ ERROR: dependency ‘XML’ is not available for package ‘annotate’ * removing ‘/home/mhz/R/x8664-pc-linux-gnu-library/3.2/annotate’ ERROR: dependency ‘annotate’ is not available for package ‘genefilter’ * removing ‘/home/mhz/R/x8664-pc-linux-gnu-library/3.2/genefilter’ ERROR: dependency ‘annotate’ is not available for package ‘geneplotter’ * removing ‘/home/mhz/R/x8664-pc-linux-gnu-library/3.2/geneplotter’ ERROR: dependencies ‘RcppArmadillo’, ‘genefilter’, ‘geneplotter’ are not available for package ‘DESeq2’ * removing ‘/home/mhz/R/x86_64-pc-linux-gnu-library/3.2/DESeq2’
The downloaded source packages are in ‘/tmp/RtmpGFjut1/downloaded_packages’ Old packages: 'boot', 'class', 'cluster', 'codetools', 'foreign', 'lattice', 'MASS', 'Matrix', 'mgcv', 'rpart', 'survival' Update all/some/none? [a/s/n]: n Warning messages: 1: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘XML’ had non-zero exit status 2: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘annotate’ had non-zero exit status 3: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘genefilter’ had non-zero exit status 4: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘geneplotter’ had non-zero exit status 5: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘DESeq2’ had non-zero exit status
I actually also tried to install DESeq2 under a R version 3.5.0, using the code on Bioconductor DESeq2 page. However, I got the same errors. When I tried to install DESeq2 on a laptop with R version 3.3.3, it worked. I am very confused. Could anyone advise?
Thanks a lot!!

Thank you so much! The XML was fixed. However, I still got an error said 'RcppArmadillo' is not available.
I tried to install it but could not. I searched and used install.packages. Do I need to install in another way?
Thanks again!
You'll need to show us the output from
install.packages('RcppArmadillo'), otherwise it's impossible to diagnose what has failed.Thanks for responding again!
The output is:
I found the RcppArmadillo requires R 3.3.0 and above. I will try to upgrade and see if it works.
Thanks again!