Hi Thank you for your suggestions. I tried but not working
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
1 answer
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.
Try this:
install.packages("BiocManager")
BiocManager::install("WGCNA")
and what is the error? Is there any library missing or what you are getting there.
install.packages("BiocManager") BiocManager::install("WGCNA") Error: unexpected symbol in "install.packages("BiocManager") BiocManager"
There was formatting issue. Try now
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
Type 'sessionInfo()', and post the output here. That could be helpful for experts (not me) to solve your problem.
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')
Yes. It is working for me. Thank you very much
Log in to answer this question.
Hi Thank you for your suggestions. I tried but not working
Check the pages below!
WGCNA installation
FAQ