Fail to install DESeq2 Ubuntu 13.04

After trying to install the DESeq2 library

> source("http://bioconductor.org/biocLite.R")
> biocLite("DESeq2")

I got a error because of a cascade of dependencies

DESeq2 <- genefilter <- annotate <- XML

Unfortunately biocLite could not resolve this cascade because of a external dependency

> install.packages("XML")

 

ERROR: configuration failed for package ‘XML’
* removing ‘/usr/local/lib/R/site-library/XML’

 

The problem was that I dind’t have a system library installed. To solve it a had to run:

> sudo apt-get install libxml2-dev

and run the command again within the R environment :

> biocLite("DESeq2")

And everything gone well… Thats it

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>