Error in WGCNA packages installation in R?
1
0
Entering edit mode
4.7 years ago
harshraje19 ▴ 40

Dear all. I am trying to install the WGCNA, but whenever i install it, it gives me following error,

Warning in install.packages : installation of package ‘WGCNA’ had non-zero exit status

can anyone help me to solve this error?

Thanks and regards Harshraj

R software error snp • 11k views
ADD COMMENT
0
Entering edit mode

Hi Thank you for your suggestions. I tried but not working

ADD REPLY
0
Entering edit mode

Check the pages below!

WGCNA installation

FAQ

ADD REPLY
1
Entering edit mode
4.7 years ago
tothepoint ▴ 940

Try this:

install.packages(c("matrixStats", "Hmisc", "splines", "foreach", "doParallel", "fastcluster", "dynamicTreeCut", "survival"))

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

biocLite(c("GO.db", "preprocessCore", "impute"))

or install locally : For Linux For Windows For Unix.

ADD COMMENT
0
Entering edit mode

Hi Thank you for your suggestions. I tried but not working

ADD REPLY
0
Entering edit mode

Try this:

install.packages("BiocManager")

BiocManager::install("WGCNA")

and what is the error? Is there any library missing or what you are getting there.

ADD REPLY
0
Entering edit mode

install.packages("BiocManager") BiocManager::install("WGCNA") Error: unexpected symbol in "install.packages("BiocManager") BiocManager"

ADD REPLY
0
Entering edit mode

There was formatting issue. Try now

ADD REPLY
0
Entering edit mode

Following error has found

he downloaded source packages are in ‘/tmp/Rtmp7SFM5k/downloaded_packages’ Installation path not writeable, unable to update packages: boot, class, foreign, KernSmooth, lattice, MASS, Matrix, mgcv, nlme, nnet, survival Warning messages: 1: In install.packages(...) : installation of package ‘png’ had non-zero exit status 2: In install.packages(...) : installation of package ‘jpeg’ had non-zero exit status 3: In install.packages(...) : installation of package ‘acepack’ had non-zero exit status 4: In install.packages(...) : installation of package ‘impute’ had non-zero exit status 5: In install.packages(...) : installation of package ‘preprocessCore’ had non-zero exit status 6: In install.packages(...) : installation of package ‘latticeExtra’ had non-zero exit status 7: In install.packages(...) : installation of package ‘Hmisc’ had non-zero exit status 8: In install.packages(...) : installation of package ‘WGCNA’ had non-zero exit status

ADD REPLY
1
Entering edit mode

There is a trick that worked for me when I got such error. I installed all the packages manually which exit with non-zero exit status such:

install.packages(c('libraries list ', 'with', 'non-zero', 'error'))

enter all the packages name in it like acepack, impute etc and finally installed the package again with

BiocManager::install('WGCNA')
ADD REPLY
0
Entering edit mode

Yes. It is working for me. Thank you very much

ADD REPLY
0
Entering edit mode

Type 'sessionInfo()', and post the output here. That could be helpful for experts (not me) to solve your problem.

ADD REPLY

Login before adding your answer.

Traffic: 2235 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6