SEQanswers

Go Back   SEQanswers > Applications Forums > RNA Sequencing



Similar Threads
Thread Thread Starter Forum Replies Last Post
cummeRbund installation m_elena_bioinfo Bioinformatics 3 08-02-2012 01:42 AM
Experiment deletion failing BenjaminL Ion Torrent 0 07-29-2012 10:10 PM
BWA and Samtools installation failing JamesT Bioinformatics 3 07-02-2012 03:24 AM
Tophat problem: failing reads alignment Annibal RNA Sequencing 6 05-18-2012 12:34 PM
TopHat 1.1 failing on colorspace SE reads krobison Bioinformatics 22 09-22-2011 11:25 AM

Reply
 
Thread Tools
Old 06-16-2014, 05:20 AM   #61
cjsifuen
Junior Member
 
Location: Ann Arbor

Join Date: Apr 2013
Posts: 9
Default CummeRbund installation error on Linux Redhat Enterprise6.5

I am trying to install cummeRbund in R (version 3.1.0) on a 64-bit Linux Redhat Enterprise 6.5 and I am getting errors similar to those posted on this thread. However, when I try to install several of the packages suggested, I get the response: 1. already installed or 2. no package is available. Specifics below:

When I try to install CummeRbund:

$ sudo R
[sudo] password for cjsifuen:

R version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> source('http://www.bioconductor.org/biocLite.R')
Bioconductor version 2.14 (BiocInstaller 1.14.2), ?biocLite for help
> biocLite('cummeRbund')
BioC_mirror: http://bioconductor.org
Using Bioconductor version 2.14 (BiocInstaller 1.14.2), R version
3.1.0.
Installing package(s) 'cummeRbund'
also installing the dependencies ‘VariantAnnotation’, ‘XML’, ‘RCurl’, ‘biomaRt’, ‘GenomicFeatures’, ‘biovizBase’, ‘rtracklayer’, ‘Gviz’

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/VariantAnnotation_1.10.1.tar.gz'
Content type 'application/x-gzip' length 1300279 bytes (1.2 Mb)
opened URL
==================================================
downloaded 1.2 Mb

trying URL 'http://cran.fhcrc.org/src/contrib/XML_3.98-1.1.tar.gz'
Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
opened URL
==================================================
downloaded 1.5 Mb

trying URL 'http://cran.fhcrc.org/src/contrib/RCurl_1.95-4.1.tar.gz'
Content type 'application/x-gzip' length 870915 bytes (850 Kb)
opened URL
==================================================
downloaded 850 Kb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/biomaRt_2.20.0.tar.gz'
Content type 'application/x-gzip' length 276933 bytes (270 Kb)
opened URL
==================================================
downloaded 270 Kb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/GenomicFeatures_1.16.2.tar.gz'
Content type 'application/x-gzip' length 765846 bytes (747 Kb)
opened URL
==================================================
downloaded 747 Kb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/biovizBase_1.12.1.tar.gz'
Content type 'application/x-gzip' length 2429449 bytes (2.3 Mb)
opened URL
==================================================
downloaded 2.3 Mb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/rtracklayer_1.24.2.tar.gz'
Content type 'application/x-gzip' length 1337492 bytes (1.3 Mb)
opened URL
==================================================
downloaded 1.3 Mb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/Gviz_1.8.3.tar.gz'
Content type 'application/x-gzip' length 2541759 bytes (2.4 Mb)
opened URL
==================================================
downloaded 2.4 Mb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/cummeRbund_2.6.1.tar.gz'
Content type 'application/x-gzip' length 2291914 bytes (2.2 Mb)
opened URL
==================================================
downloaded 2.2 Mb

* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove `a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/usr/lib64/R/library/XML’
* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/usr/lib64/R/library/RCurl’
ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘biomaRt’
* removing ‘/usr/lib64/R/library/biomaRt’
ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘rtracklayer’
* removing ‘/usr/lib64/R/library/rtracklayer’
ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘RCurl’ are not available for package ‘GenomicFeatures’
* removing ‘/usr/lib64/R/library/GenomicFeatures’
ERROR: dependencies ‘GenomicFeatures’, ‘rtracklayer’ are not available for package ‘VariantAnnotation’
* removing ‘/usr/lib64/R/library/VariantAnnotation’
ERROR: dependencies ‘GenomicFeatures’, ‘VariantAnnotation’ are not available for package ‘biovizBase’
* removing ‘/usr/lib64/R/library/biovizBase’
ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘GenomicFeatures’, ‘biovizBase’ are not available for package ‘Gviz’
* removing ‘/usr/lib64/R/library/Gviz’
ERROR: dependencies ‘rtracklayer’, ‘Gviz’ are not available for package ‘cummeRbund’
* removing ‘/usr/lib64/R/library/cummeRbund’

The downloaded source packages are in
‘/tmp/Rtmp4tvQHn/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘XML’ had non-zero exit status
2: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘RCurl’ had non-zero exit status
3: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘biomaRt’ had non-zero exit status
4: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘rtracklayer’ had non-zero exit status
5: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘GenomicFeatures’ had non-zero exit status
6: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘VariantAnnotation’ had non-zero exit status
7: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘biovizBase’ had non-zero exit status
8: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘Gviz’ had non-zero exit status
9: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘cummeRbund’ had non-zero exit status
> library(cummeRbund)
Error in library(cummeRbund) : there is no package called ‘cummeRbund’
> quit()

When I try to install some of the mentioned packages:

$ sudo yum install libxml2 libcurl
[sudo] password for cjsifuen:
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager, verify
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package libxml2-2.7.6-14.el6_5.1.x86_64 already installed and latest version
Package libcurl-7.19.7-37.el6_5.3.x86_64 already installed and latest version
Nothing to do

$ sudo yum install libxml2-dev
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager, verify
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package libxml2-dev available.
Error: Nothing to do

$ sudo yum install libcurl4-openssl-dev
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager, verify
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package libcurl4-openssl-dev available.
Error: Nothing to do

$ sudo yum install zlib1g
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager, verify
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package zlib1g available.
Error: Nothing to do

$ sudo yum install zlib1g-dev
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager, verify
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package zlib1g-dev available.
Error: Nothing to do

I am at a loss for what to try next. Any help would be greatly appreciated.

Thanks,

Chris
cjsifuen is offline   Reply With Quote
Old 06-16-2014, 06:18 AM   #62
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,076
Default

Chris,

I think the package names for RHEL are as below. I assume you have access to a redhat satellite for installation.

zlib
libxml2-devel
zlib-devel
openssl-devel
GenoMax is offline   Reply With Quote
Old 06-16-2014, 06:45 AM   #63
cjsifuen
Junior Member
 
Location: Ann Arbor

Join Date: Apr 2013
Posts: 9
Default CummeRbund installation still not working

Quote:
Originally Posted by GenoMax View Post
Chris,

I think the package names for RHEL are as below. I assume you have access to a redhat satellite for installation.

zlib
libxml2-devel
zlib-devel
openssl-devel
Thank you for the quick reply. I do have access to redhat satellite for installation. I tried installing the packages, 2 were already installed and the other 2 installed sucessfully.

I tried to install CummeRbund again and received the following errors:

$ sudo R

R version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> source('http://www.bioconductor.org/biocLite.R')
Bioconductor version 2.14 (BiocInstaller 1.14.2), ?biocLite for help
> biocLite('cummeRbund')
BioC_mirror: http://bioconductor.org
Using Bioconductor version 2.14 (BiocInstaller 1.14.2), R version
3.1.0.
Installing package(s) 'cummeRbund'
also installing the dependencies ‘VariantAnnotation’, ‘RCurl’, ‘biomaRt’, ‘GenomicFeatures’, ‘biovizBase’, ‘rtracklayer’, ‘Gviz’

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/VariantAnnotation_1.10.1.tar.gz'
Content type 'application/x-gzip' length 1300279 bytes (1.2 Mb)
opened URL
==================================================
downloaded 1.2 Mb

trying URL 'http://cran.fhcrc.org/src/contrib/RCurl_1.95-4.1.tar.gz'
Content type 'application/x-gzip' length 870915 bytes (850 Kb)
opened URL
==================================================
downloaded 850 Kb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/biomaRt_2.20.0.tar.gz'
Content type 'application/x-gzip' length 276933 bytes (270 Kb)
opened URL
==================================================
downloaded 270 Kb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/GenomicFeatures_1.16.2.tar.gz'
Content type 'application/x-gzip' length 765846 bytes (747 Kb)
opened URL
==================================================
downloaded 747 Kb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/biovizBase_1.12.1.tar.gz'
Content type 'application/x-gzip' length 2429449 bytes (2.3 Mb)
opened URL
==================================================
downloaded 2.3 Mb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/rtracklayer_1.24.2.tar.gz'
Content type 'application/x-gzip' length 1337492 bytes (1.3 Mb)
opened URL
==================================================
downloaded 1.3 Mb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/Gviz_1.8.3.tar.gz'
Content type 'application/x-gzip' length 2541759 bytes (2.4 Mb)
opened URL
==================================================
downloaded 2.4 Mb

trying URL 'http://bioconductor.org/packages/2.14/bioc/src/contrib/cummeRbund_2.6.1.tar.gz'
Content type 'application/x-gzip' length 2291914 bytes (2.2 Mb)
opened URL
==================================================
downloaded 2.2 Mb

* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/usr/lib64/R/library/RCurl’
ERROR: dependency ‘RCurl’ is not available for package ‘biomaRt’
* removing ‘/usr/lib64/R/library/biomaRt’
ERROR: dependency ‘RCurl’ is not available for package ‘rtracklayer’
* removing ‘/usr/lib64/R/library/rtracklayer’
ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘RCurl’ are not available for package ‘GenomicFeatures’
* removing ‘/usr/lib64/R/library/GenomicFeatures’
ERROR: dependencies ‘GenomicFeatures’, ‘rtracklayer’ are not available for package ‘VariantAnnotation’
* removing ‘/usr/lib64/R/library/VariantAnnotation’
ERROR: dependencies ‘GenomicFeatures’, ‘VariantAnnotation’ are not available for package ‘biovizBase’
* removing ‘/usr/lib64/R/library/biovizBase’
ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘GenomicFeatures’, ‘biovizBase’ are not available for package ‘Gviz’
* removing ‘/usr/lib64/R/library/Gviz’
ERROR: dependencies ‘rtracklayer’, ‘Gviz’ are not available for package ‘cummeRbund’
* removing ‘/usr/lib64/R/library/cummeRbund’

The downloaded source packages are in
‘/tmp/RtmpBn4iVY/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘RCurl’ had non-zero exit status
2: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘biomaRt’ had non-zero exit status
3: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘rtracklayer’ had non-zero exit status
4: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘GenomicFeatures’ had non-zero exit status
5: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘VariantAnnotation’ had non-zero exit status
6: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘biovizBase’ had non-zero exit status
7: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘Gviz’ had non-zero exit status
8: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘cummeRbund’ had non-zero exit status

Could there be something else I am missing?

Thanks,

Chris
cjsifuen is offline   Reply With Quote
Old 06-16-2014, 07:54 AM   #64
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,076
Default

Can you see if "curl-config" is installed on your server?

Code:
$ which curl-config
You may need to install the curl-devel library.
GenoMax is offline   Reply With Quote
Old 06-16-2014, 08:08 AM   #65
cjsifuen
Junior Member
 
Location: Ann Arbor

Join Date: Apr 2013
Posts: 9
Default

Quote:
Originally Posted by GenoMax View Post
Can you see if "curl-config" is installed on your server?

Code:
$ which curl-config
You may need to install the curl-devel library.
I checked the curl-config version

$ which curl-config
~/Enthought/Canopy_64bit/User/bin/curl-config

$ curl-config --version
libcurl 7.25.0

I installed the curl-devel library successfully. I then tried to install CummeRbund sucessfully and loaded the library succesfully (the end of the installation is shown):

** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (cummeRbund)
Making 'packages.html' ... done

The downloaded source packages are in
‘/tmp/Rtmp0oui45/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
> library(cummeRbund)
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘packagearallel’:

clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB

The following object is masked from ‘package:stats’:

xtabs

The following objects are masked from ‘package:base’:

anyDuplicated, append, as.data.frame, as.vector, cbind, colnames,
do.call, duplicated, eval, evalq, Filter, Find, get, intersect,
is.unsorted, lapply, Map, mapply, match, mget, order, paste, pmax,
pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rep.int,
rownames, sapply, setdiff, sort, table, tapply, union, unique,
unlist

Loading required package: RSQLite
Loading required package: DBI
Loading required package: ggplot2
Loading required package: reshape2
Loading required package: fastcluster

Attaching package: ‘fastcluster’

The following object is masked from ‘package:stats’:

hclust

Loading required package: rtracklayer
Loading required package: GenomicRanges
Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Gviz
Loading required package: grid

Attaching package: ‘cummeRbund’

The following object is masked from ‘package:GenomicRanges’:

promoters

The following object is masked from ‘package:IRanges’:

promoters

I will try using it now.

Thank you so much!
cjsifuen is offline   Reply With Quote
Old 10-30-2014, 03:26 PM   #66
axa9070
Member
 
Location: Rochester, NY

Join Date: Oct 2014
Posts: 11
Default

This site might help. I ended up needing to install curl for my Debian machine and I don't have root permissions. So I went ahead and loaded my user directory up with a bunch of programs.

This was the command that I ended up using to install it. (From ~/src/curl-7.38.0):
configure --prefix=/home/{user}/bin/curl-7.38.0 CPPFLAGS="-I/home/{user}/bin/libcurl/include"
make
make install


One last trick,

export LD_LIBRARY_PATH=/home/{user}/bin/curl-7.38.0/lib

(There's a whole long story behind this one for the non-C programmer)


Then going back into R I was able to install RCurl and it found everything! Then all the other packages of course that follow.
axa9070 is offline   Reply With Quote
Old 02-24-2015, 11:37 AM   #67
mksiddiqua
Junior Member
 
Location: Canada

Join Date: Oct 2012
Posts: 1
Default

Hi all,
I have two groups. One group has 3 varieties (which presumably have extreme low expression for all the genes) and another group has also 3 varieties (which have extreme high expression for all the genes). Now, I want to know how many genes (with the average value of each gene taken from 3 varieties) between these 2 groups are significant? And what are those genes? Please can you tell me what is the appropriate code to be used in cummerbund?

Thank you,

Mahbuba Siddiqua
mksiddiqua is offline   Reply With Quote
Old 03-10-2015, 04:50 AM   #68
mcm
Junior Member
 
Location: UK

Join Date: Mar 2015
Posts: 6
Default

Hello,
first of all thanks to all the people for posting so many solutions and help messages for starters like me! This is the first time I write, but I read many of the threads!

My problem is comparable to the first problems:

> library(cummeRbund)
Error in library(cummeRbund) : there is no package called ‘cummeRbund’

I installed the recommended packages in this forum:

$ sudo apt-get install libxml2-dev
$ sudo apt-get install libcurl4-openssl-dev

Then, re-installed cummeRbund:
> source('http://www.bioconductor.org/biocLite.R')
> biocLite('cummeRbund')

The process was different compared to the process before installing those packages, but the final message was the same, including:

Warning messages:
1: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘GenomicFeatures’ had non-zero exit status
2: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘biovizBase’ had non-zero exit status
3: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘Gviz’ had non-zero exit status
4: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘cummeRbund’ had non-zero exit status
5: installed directory not writable, cannot update packages 'boot', 'class',
'cluster', 'codetools', 'foreign', 'KernSmooth', 'lattice', 'Matrix', 'mgcv',
'nlme', 'nnet', 'rpart', 'spatial', 'survival'

Has anyone any more brilliant ideas to get this working? I would be really, really thankful!
mcm is offline   Reply With Quote
Old 03-10-2015, 05:05 AM   #69
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,076
Default

Quote:
Originally Posted by mcm View Post
5: installed directory not writable, cannot update packages 'boot', 'class',
'cluster', 'codetools', 'foreign', 'KernSmooth', 'lattice', 'Matrix', 'mgcv',
'nlme', 'nnet', 'rpart', 'spatial', 'survival'

Has anyone any more brilliant ideas to get this working? I would be really, really thankful!
See bold text above. Is this a personal machine or you are on a server without necessary privileges to install software?
GenoMax is offline   Reply With Quote
Old 03-10-2015, 05:09 AM   #70
mcm
Junior Member
 
Location: UK

Join Date: Mar 2015
Posts: 6
Default

(wow fast response, thanks! )

This is a machine at work for which I am the only user and I have admin rights. In fact I could install all programmes I needed so far (contrary to other machines at work for which I needed to call IT for installations).
mcm is offline   Reply With Quote
Old 03-10-2015, 05:25 AM   #71
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,076
Default

What OS are you using (should have asked before)? Was the original R install done using a different account? Are you using latest R available?
GenoMax is offline   Reply With Quote
Old 03-10-2015, 06:53 AM   #72
mcm
Junior Member
 
Location: UK

Join Date: Mar 2015
Posts: 6
Default

Ubuntu. And yes, the original R was installed with a different account because it was "here" when I arrived. It is version 3.0.2. Shall I uninstall and install again?
thank you so much...
mcm is offline   Reply With Quote
Old 03-10-2015, 07:08 AM   #73
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,076
Default

Since you are the only user on this machine (and have admin rights) you could recursively change the ownership (chown -R) of the directories in question to your account and then try the install. Make sure the group matches as well.

Current R is 3.1.3, so installing the latest version is an option as well.

Last edited by GenoMax; 03-10-2015 at 07:10 AM.
GenoMax is offline   Reply With Quote
Old 03-11-2015, 02:04 AM   #74
mcm
Junior Member
 
Location: UK

Join Date: Mar 2015
Posts: 6
Default

Good morning! Thank your for the last post. That makes a lot of sense. I did not manage, though, but this is only due to my lack of IT knowledge. I appreciate a lot your help, I will keep on trying myself reading a bit more and (hopefully not but) I may come back soon!
Thank you once again!
mcm is offline   Reply With Quote
Old 03-11-2015, 03:08 AM   #75
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,076
Default

It is simple actually. Find our where your R is installed?

Code:
$ which R
Then find out which account owns that top level directory

Code:
$ ls -l /path_on_your_server/r-3.x
Then do

Code:
$ chown -R your_acct_name /path_on_your_server/r-3.x
Make sure the group is also changed to match yours

Code:
$ chgrp -R your_group /path_on_your_server/r-3.x
You should be able to upgrade the libraries at that point.
GenoMax is offline   Reply With Quote
Old 03-12-2015, 04:21 AM   #76
mcm
Junior Member
 
Location: UK

Join Date: Mar 2015
Posts: 6
Default

... I may not understand the r-3.x part... Without it, the output is "Operation not permitted".

$ which R
/usr/bin/R
$ ls -l /usr/bin/R
-rwxr-xr-x 1 root root 8589 Oct 25 2013 /usr/bin/R
$ chown -R my_account_name /usr/bin/R
chown: changing ownership of ‘/usr/bin/R’: Operation not permitted
$ chgrp -R my_group /usr/bin/R
chgrp: changing group of ‘/usr/bin/R’: Operation not permitted
mcm is offline   Reply With Quote
Old 03-12-2015, 04:35 AM   #77
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,076
Default

I was afraid that your R install may be owned by root, which seems to be the case. (/usr/bin/R is probably a shell script).

Can you su to root and then try cummerbund install in R? Some people may not like this method but since you are the only user on the system that is probably ok in your case (changes made as root affect all users on the system).
GenoMax is offline   Reply With Quote
Old 03-12-2015, 06:53 AM   #78
mcm
Junior Member
 
Location: UK

Join Date: Mar 2015
Posts: 6
Default

Dear GenoMax,
I could not su to root (authentication failed). However, I finally got it working... I managed to upgrade R (I had tried before but with no success) to version 3.1.3 and now everything works.
Thank you so, so much for all your suggestions and replying so fast. You were a real support!! Hopefully now I can visualize super good results and then the week will be perfect
Have a great day!!
mcm is offline   Reply With Quote
Old 07-14-2015, 07:19 PM   #79
mfahim
Member
 
Location: Pakistan

Join Date: Apr 2015
Posts: 11
Default

After applying most of the solutions mentioned above.. I am still getting this message..

Error : objects ‘metadata’, ‘isTRUEorFALSE’, ‘isSingleString’ are not exported by 'namespace:IRanges'
Error: package ‘Gviz’ could not be loaded

I tried installing Gviz..


rror : object ‘renameSeqlevels’ is not exported by 'namespace:GenomicRanges'
ERROR: lazy loading failed for package ‘Gviz’
* removing ‘/home/fahimish/R/x86_64-pc-linux-gnu-library/3.2/Gviz’
Warning in install.packages :
installation of package ‘/home/fahimish/Downloads/r-bioc-gviz_1.8.4.orig.tar.gz’ had non-zero exit status

need your help.
Thanks in advance
mfahim is offline   Reply With Quote
Old 07-23-2016, 04:01 AM   #80
k.h
Junior Member
 
Location: Iran

Join Date: Jun 2015
Posts: 6
Default how to install cummeRbund successfuly

Dear all,

I am installing cummeRbund but I am getting the following error;

> source("https://bioconductor.org/biocLite.R")
Bioconductor version 3.3 (BiocInstaller 1.22.3), ?biocLite for help
> biocLite("cummeRbund")
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.3 (BiocInstaller 1.22.3), R 3.3.1 (2016-06-21).
Installing package(s) ‘cummeRbund’
also installing the dependencies ‘curl’, ‘openssl’, ‘httr’, ‘AnnotationHub’, ‘VariantAnnotation’, ‘ensembldb’, ‘XML’, ‘RCurl’, ‘biomaRt’, ‘GenomicFeatures’, ‘BSgenome’, ‘biovizBase’, ‘rtracklayer’, ‘Gviz’

trying URL 'https://cran.rstudio.com/src/contrib/curl_0.9.7.tar.gz'
Content type 'unknown' length 263926 bytes (257 KB)
==================================================
downloaded 257 KB

trying URL 'https://cran.rstudio.com/src/contrib/openssl_0.9.4.tar.gz'
Content type 'unknown' length 1165388 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

trying URL 'https://cran.rstudio.com/src/contrib/httr_1.2.1.tar.gz'
Content type 'unknown' length 133398 bytes (130 KB)
==================================================
downloaded 130 KB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/AnnotationHub_2.4.2.tar.gz'
Content type 'unknown' length 415393 bytes (405 KB)
==================================================
downloaded 405 KB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/VariantAnnotation_1.18.5.tar.gz'
Content type 'unknown' length 1636519 bytes (1.6 MB)
==================================================
downloaded 1.6 MB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/ensembldb_1.4.7.tar.gz'
Content type 'unknown' length 1231735 bytes (1.2 MB)
==================================================
downloaded 1.2 MB

trying URL 'https://cran.rstudio.com/src/contrib/XML_3.98-1.4.tar.gz'
Content type 'unknown' length 1599214 bytes (1.5 MB)
==================================================
downloaded 1.5 MB

trying URL 'https://cran.rstudio.com/src/contrib/RCurl_1.95-4.8.tar.gz'
Content type 'unknown' length 916934 bytes (895 KB)
==================================================
downloaded 895 KB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/biomaRt_2.28.0.tar.gz'
Content type 'unknown' length 274747 bytes (268 KB)
==================================================
downloaded 268 KB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/GenomicFeatures_1.24.4.tar.gz'
Content type 'unknown' length 827977 bytes (808 KB)
==================================================
downloaded 808 KB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/BSgenome_1.40.1.tar.gz'
Content type 'unknown' length 6059426 bytes (5.8 MB)
==================================================
downloaded 5.8 MB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/biovizBase_1.20.0.tar.gz'
Content type 'unknown' length 2432033 bytes (2.3 MB)
==================================================
downloaded 2.3 MB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/rtracklayer_1.32.1.tar.gz'
Content type 'unknown' length 1378505 bytes (1.3 MB)
==================================================
downloaded 1.3 MB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/Gviz_1.16.1.tar.gz'
Content type 'unknown' length 3387915 bytes (3.2 MB)
==================================================
downloaded 3.2 MB

trying URL 'https://bioconductor.org/packages/3.3/bioc/src/contrib/cummeRbund_2.14.0.tar.gz'
Content type 'unknown' length 2317146 bytes (2.2 MB)
==================================================
downloaded 2.2 MB

* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
* deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
* rpm: libcurl-devel (Fedora, CentOS, RHEL)
* csw: libcurl_dev (Solaris)
If libcurl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘curl’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/curl’
* installing *source* package ‘openssl’ ...
** package ‘openssl’ successfully unpacked and MD5 sums checked
Using PKG_CFLAGS=
Using PKG_LIBS=-lssl -lcrypto
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because openssl was not found. Try installing:
* deb: libssl-dev (Debian, Ubuntu, etc)
* rpm: openssl-devel (Fedora, CentOS, RHEL)
* csw: libssl_dev (Solaris)
* brew: openssl (Mac OSX)
If openssl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘openssl’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/openssl’
* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/XML’
* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/RCurl’
ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/httr’
ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘biomaRt’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/biomaRt’
ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘rtracklayer’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/rtracklayer’
ERROR: dependency ‘httr’ is not available for package ‘AnnotationHub’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/AnnotationHub’
ERROR: dependencies ‘RCurl’, ‘rtracklayer’, ‘biomaRt’ are not available for package ‘GenomicFeatures’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/GenomicFeatures’
ERROR: dependency ‘rtracklayer’ is not available for package ‘BSgenome’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/BSgenome’
ERROR: dependencies ‘BSgenome’, ‘rtracklayer’, ‘GenomicFeatures’ are not available for package ‘VariantAnnotation’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/VariantAnnotation’
ERROR: dependencies ‘GenomicFeatures’, ‘rtracklayer’, ‘AnnotationHub’ are not available for package ‘ensembldb’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/ensembldb’
ERROR: dependencies ‘GenomicFeatures’, ‘VariantAnnotation’, ‘ensembldb’ are not available for package ‘biovizBase’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/biovizBase’
ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘GenomicFeatures’, ‘BSgenome’, ‘biovizBase’ are not available for package ‘Gviz’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/Gviz’
ERROR: dependencies ‘rtracklayer’, ‘Gviz’ are not available for package ‘cummeRbund’
* removing ‘/home/k/R/i686-pc-linux-gnu-library/3.3/cummeRbund’

The downloaded source packages are in
‘/tmp/RtmpJizAcY/downloaded_packages’
Old packages: 'boot', 'MASS', 'mgcv', 'spatial',
'survival'
Update all/some/none? [a/s/n]:
n
There were 15 warnings (use warnings() to see them)
> warnings()
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘curl’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘openssl’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘XML’ had non-zero exit status
4: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘RCurl’ had non-zero exit status
5: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘httr’ had non-zero exit status
6: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘biomaRt’ had non-zero exit status
7: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘rtracklayer’ had non-zero exit status
8: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘AnnotationHub’ had non-zero exit status
9: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘GenomicFeatures’ had non-zero exit status
10: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘BSgenome’ had non-zero exit status
11: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘VariantAnnotation’ had non-zero exit status
12: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘ensembldb’ had non-zero exit status
13: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘biovizBase’ had non-zero exit status
14: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘Gviz’ had non-zero exit status
15: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘cummeRbund’ had non-zero exit status

what should I do to solve this problem???
Any help appreciated
k.h is offline   Reply With Quote
Reply

Tags
bioconductor, cummerbund, installation

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 09:02 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO