Failed with error: ‘package ‘proto’ was built before R 3.0.0: please re-install it’
1
0
Entering edit mode
jiangxue_s • 0
@jiangxue_s-7782
Last seen 10.5 years ago
China

hi, I am trying to run the WGCNA R package  which is doing gene co-expression  analysis . But it is failing with an error saying package "proto" was built before R 3.0.0: please re-install. I am using R-3.2.0 i386 (32 bits win). Another thing that I noted is that I am not getting the WGCNA package under "Install packages". I downloaded WGCNA_1.46.zip file from http://labs.genetics.ucla.edu/horvath/htdocs/CoexpressionNetwork/Rpackages/WGCNA/ and unpacked it unsuccessfully under the default R win-library. I added some more repositories but that did not help. Any suggestions will be highly appreciated.

 

> source("http://bioconductor.org/biocLite.R")
Bioconductor version 3.1 (BiocInstaller 1.18.2), ?biocLite for help
> biocLite("impute")
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.2), R version 3.2.0.
Installing package(s) ‘impute’
trying URL 'http://bioconductor.org/packages/3.1/bioc/bin/windows/contrib/3.2/impute_1.42.0.zip'
Content type 'application/zip' length 1339419 bytes (1.3 MB)
downloaded 1.3 MB

package ‘impute’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\JX\AppData\Local\Temp\RtmpErxa44\downloaded_packages
> install.packages("WGCNA")
also installing the dependency ‘survival’

trying URL 'http://mirror.bjtu.edu.cn/cran/bin/windows/contrib/3.2/survival_2.38-1.zip'
Content type 'application/octet-stream' length 4595116 bytes (4.4 MB)
downloaded 4.4 MB

trying URL 'http://mirror.bjtu.edu.cn/cran/bin/windows/contrib/3.2/WGCNA_1.46.zip'
Content type 'application/zip' length 2168735 bytes (2.1 MB)
downloaded 2.1 MB

package ‘survival’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘survival’
package ‘WGCNA’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\JX\AppData\Local\Temp\RtmpErxa44\downloaded_packages
> library(WGCNA)
Error : package ‘proto’ was built before R 3.0.0: please re-install it
Error: package or namespace load failed for ‘WGCNA’

 

 

‘package ‘proto’ was built before R 3.0.0: please re-install it’ • 2.8k views
ADD COMMENT
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 17 months ago
United States

Sounds like you have an old version of the proto package installed. Try updating it with:

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

 

ADD COMMENT

Login before adding your answer.

Traffic: 760 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