Search
Question: Package installation errors for Bioconductor and easyRNASeq
0
gravatar for michael.dhar
23 months ago by
michael.dhar0 wrote:

 

Hello,

I am trying to run some Bioconductor and easyRNASeq packages for a biology lab on an HPC system. However, I have been unable to install those R packages. Below are the installation commands, entered from within an R session, and the resulting error messages. Please let me know if you see the resolution to my issue. Thank you

 

1) Bioconductor

Commands:

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

biocLite()

 

 

Error Messages:

Warning message:

installed directory not writable, cannot update packages 'boot', 'class',

  'cluster', 'codetools', 'foreign', 'KernSmooth', 'lattice', 'Matrix', 'mgcv',

  'nlme', 'nnet', 'rpart', 'spatial', 'survival' 

 

2) easyRNASeq

Commands

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

biocLite("easyRNASeq")

 

Errors:

checking for curl-config... no

Cannot find curl-config

ERROR: configuration failed for package ‘RCurl’

* removing ‘/home/mid224/R/x86_64-unknown-linux-gnu-library/3.0/RCurl’

ERROR: dependency ‘RCurl’ is not available for package ‘biomaRt’

* removing ‘/home/mid224/R/x86_64-unknown-linux-gnu-library/3.0/biomaRt’

ERROR: dependency ‘biomaRt’ is not available for package ‘easyRNASeq’

* removing ‘/home/mid224/R/x86_64-unknown-linux-gnu-library/3.0/easyRNASeq’

ADD COMMENTlink modified 23 months ago by Martin Morgan ♦♦ 20k • written 23 months ago by michael.dhar0
0
gravatar for arfranco
23 months ago by
arfranco120
European Union
arfranco120 wrote:
installed directory not writable

This means you have not permission to write

Run R or RStudio with the sudo option

ADD COMMENTlink written 23 months ago by arfranco120
0
gravatar for Martin Morgan
23 months ago by
Martin Morgan ♦♦ 20k
United States
Martin Morgan ♦♦ 20k wrote:

As @arfranco notes, the warning messages (NOT errors) in (1) are because the packages were installed as root, whereas you are running as non-root. There is no requirement for R (and it's base packages) to be installed as root, so the better practice is to install it as a regular user. 

The curl problem is because your system requires the 'dev' version of libcurl, e.g., 

sudo apt-get install libcurl4-openssl-dev

Likely you will also need libxml2-dev.

ADD COMMENTlink written 23 months ago by Martin Morgan ♦♦ 20k
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.2.0
Traffic: 255 users visited in the last hour