This is a test version of Biostars. For the public version, visit https://www.biostars.org.
error in installation of DESeq2 in RStudio

I need help with installation of DESeq2 in Rstudio.

This is the error message i receive also my ubuntu software shows libxml2-dev is already the newest version

can someone help me understand what am i missing and help me fix this error please!!

The downloaded source packages are in
    ‘/tmp/RtmpesQ4af/downloaded_packages’
Installation path not writeable, unable to update packages: foreign, lattice, nlme, nnet, survival
Warning messages:
1: In install.packages(...) :
  installation of package ‘jpeg’ had non-zero exit status
2: In install.packages(...) :
  installation of package ‘latticeExtra’ had non-zero exit status
3: In install.packages(...) :
  installation of package ‘Hmisc’ had non-zero exit status
4: In install.packages(...) :
  installation of package ‘DESeq2’ had non-zero exit status

and this is the error i get when i tried installing RCurl

The downloaded source packages are in
    ‘/tmp/RtmpesQ4af/downloaded_packages’
Installation path not writeable, unable to update packages: foreign, lattice, nlme, nnet, survival
r rstudio deseq2

Why are these packages in /tmp? This is the memory of your machine and not writable (nor is this recommended to install things there)? Did you use the Bioc command devarora provided below?

yes i tried the commands provided by devarora i end up getting the same error

with the /tmp thanks for letting me know i shall check with it

yes i did i still get the same error i posted :(

Try this:

install.packages("DESeq2", dependencies=T)

or try installing from their source file available here: DESeq2

i could successfully install DESeq2 finally thanks much!!

Hello ravi.eshwari!

Solved

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

1 answer

Try this:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("DESeq2")

Log in to answer this question.