Question: Error in loading R package "GO.db" in installing WGCNA R package
0
gravatar for zaynabmousavian
2.8 years ago by
zaynabmousavian10 wrote:

Hi all,

When I have tried to install package dependencies of WGCNA, I have got the following error in the step of loading GO.db package after download completed:

 

biocLite(c("GO.db")) 
BioC_mirror: http://bioconductor.org
Using Bioconductor version 2.13 (BiocInstaller 1.12.1), R version 3.0.2.
Installing package(s) 'GO.db'
trying URL 'http://bioconductor.org/packages/2.13/data/annotation/src/contrib/GO.db_2.10.1.tar.gz'
Content type 'application/x-gzip' length 26094175 bytes (24.9 Mb)
opened URL
==================================================
downloaded 24.9 Mb

* installing *source* package âGO.dbâ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'GO.db', details:
  call: match.arg(synchronous, c("off", "normal", "full"))
  error: 'arg' must be NULL or a character vector
Error: loading failed
Execution halted
ERROR: loading failed
* removing â/home/zmousavian/R/x86_64-pc-linux-gnu-library/3.0/GO.dbâ

The downloaded source packages are in
        â/tmp/RtmpBDs1Tq/downloaded_packagesâ
Warning messages:
1: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
  installation of package âGO.dbâ had non-zero exit status
2: installed directory not writable, cannot update packages 'colorspace',
  'lattice', 'mgcv', 'survival' 

 

Can anyone help me to solve this problem?

Thanks

R • 4.6k views
ADD COMMENTlink modified 2.8 years ago by andrew410 • written 2.8 years ago by zaynabmousavian10
1
gravatar for Martin Morgan
2.8 years ago by
Martin Morgan1.5k
United States
Martin Morgan1.5k wrote:

The current version of RSQLite is not backward compatible with your older version of R / Bioconductor. Your options are to either use a current version of R (and hence Bioconductor) or to use an old version of RSQLite, as explained here. It is better in the long term to use a current version of R.

ADD COMMENTlink written 2.8 years ago by Martin Morgan1.5k
0
gravatar for andrew
2.8 years ago by
andrew410
United States
andrew410 wrote:

Agreed.  The latest GO.db package in Bioconductor 3.0 requires R 3.1.2

By the way, we will feature the latest GO methodology in iPathwayGuide with our visualizations in an upcoming release (April).

ADD COMMENTlink modified 2.8 years ago • written 2.8 years ago by andrew410

Thanks, but how can I install this version of R in linux?

ADD REPLYlink written 2.8 years ago by zaynabmousavian10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 944 users visited in the last hour