Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cnyh
    Member
    • Feb 2013
    • 39

    CummeRbund installation failing

    Hello. I am quite new to this game, but I have analyzed my RNA-Seq data using TopHat/Bowtie and cufflinks/cuffdiff. I would now like to visualize the results from cuffdiff using cummeRbund. I have the latest installation of R (2.15.2), but when I try to install cummeRbund by following the instructions on the Bioconductor website, I keep getting an error. I'm not sure what the problem is, unfortunately See copy/pasted text below.

    Can anyone help? Thank you!






    > source("http://bioconductor.org/biocLite.R")
    > biocLite("cummeRbund")
    BioC_mirror: http://bioconductor.org
    Using Bioconductor version 2.11 (BiocInstaller 1.8.3), R version 2.15.
    Installing package(s) 'cummeRbund'
    also installing the dependencies ‘XML’, ‘RCurl’, ‘biomaRt’, ‘GenomicFeatures’, ‘biovizBase’, ‘rtracklayer’, ‘Gviz’

    trying URL 'http://mirrors.dotsrc.org/cran/src/contrib/XML_3.95-0.1.tar.gz'
    Content type 'application/x-gzip' length 1724282 bytes (1.6 Mb)
    opened URL
    ==================================================
    downloaded 1.6 Mb

    trying URL 'http://mirrors.dotsrc.org/cran/src/contrib/RCurl_1.95-3.tar.gz'
    Content type 'application/x-gzip' length 868491 bytes (848 Kb)
    opened URL
    ==================================================
    downloaded 848 Kb

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

    trying URL 'http://bioconductor.org/packages/2.11/bioc/src/contrib/GenomicFeatures_1.10.1.tar.gz'
    Content type 'application/x-gzip' length 742663 bytes (725 Kb)
    opened URL
    ==================================================
    downloaded 725 Kb

    trying URL 'http://bioconductor.org/packages/2.11/bioc/src/contrib/biovizBase_1.6.2.tar.gz'
    Content type 'application/x-gzip' length 1026756 bytes (1002 Kb)
    opened URL
    ==================================================
    downloaded 1002 Kb

    trying URL 'http://bioconductor.org/packages/2.11/bioc/src/contrib/rtracklayer_1.18.2.tar.gz'
    Content type 'application/x-gzip' length 1308890 bytes (1.2 Mb)
    opened URL
    ==================================================
    downloaded 1.2 Mb

    trying URL 'http://bioconductor.org/packages/2.11/bioc/src/contrib/Gviz_1.2.1.tar.gz'
    Content type 'application/x-gzip' length 1392463 bytes (1.3 Mb)
    opened URL
    ==================================================
    downloaded 1.3 Mb

    trying URL 'http://bioconductor.org/packages/2.11/bioc/src/contrib/cummeRbund_2.0.0.tar.gz'
    Content type 'application/x-gzip' length 2327551 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... 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
    No ability to remove finalizers on externalptr objects in this verison of R
    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/local/lib/R/site-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/local/lib/R/site-library/RCurl’
    ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘biomaRt’
    * removing ‘/usr/local/lib/R/site-library/biomaRt’
    ERROR: dependencies ‘XML’, ‘RCurl’ are not available for package ‘rtracklayer’
    * removing ‘/usr/local/lib/R/site-library/rtracklayer’
    ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘RCurl’ are not available for package ‘GenomicFeatures’
    * removing ‘/usr/local/lib/R/site-library/GenomicFeatures’
    ERROR: dependency ‘GenomicFeatures’ is not available for package ‘biovizBase’
    * removing ‘/usr/local/lib/R/site-library/biovizBase’
    ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘GenomicFeatures’, ‘biovizBase’ are not available for package ‘Gviz’
    * removing ‘/usr/local/lib/R/site-library/Gviz’
    ERROR: dependencies ‘rtracklayer’, ‘Gviz’ are not available for package ‘cummeRbund’
    * removing ‘/usr/local/lib/R/site-library/cummeRbund’

    The downloaded source packages are in
    ‘/tmp/Rtmpa83rLN/downloaded_packages’
    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 ‘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
    > library(cummeRbund)
    Error in library(cummeRbund) : there is no package called ‘cummeRbund’
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    See the system requirements for XML package (http://cran.r-project.org/web/packages/XML/index.html). Your system is likely missing the "libxml2" library.

    Same is probably true for "libcurl" library. Needed for Rcurl package: http://cran.r-project.org/web/packages/RCurl/index.html

    What kind of unix system is this?
    Last edited by GenoMax; 02-20-2013, 08:59 AM.

    Comment

    • cnyh
      Member
      • Feb 2013
      • 39

      #3
      Thank you for your quick response! I'm using an Ubuntu 12.04 LTS system.

      I don't know how to install these, unfortunately. I tried install.packages("...",dependencies=TRUE) where "..." was replaced with "XML", "libxml2", "libcurl" and "Rcurl", but I kept getting the same kind of "non-zero exit status" error message for some of them, and "package ... is not available (for R version 2.15.2) for others"...
      Last edited by cnyh; 02-20-2013, 09:32 AM.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Your server is missing the libraries on system side (unrelated to R install).

        Do you have administrator rights on this machine? If not you may need to ask your sysadmins to install the libraries.

        If you do have access to administrator rights then you should able to install the libraries using the "apt-get" method below.

        Code:
        sudo apt-get install libxml2 libcurl
        Once these libraries are installed go back into R and try your original cummerBund install.

        Comment

        • cnyh
          Member
          • Feb 2013
          • 39

          #5
          I do have admin rights, yes. I copied your command, and it seems libxml2 got installed, but libcurl was not found. Do I need to download it first?

          sudo apt-get install libxml2 libcurl
          [sudo] password for cnyh:
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          E: Unable to locate package libcurl

          Comment

          • cnyh
            Member
            • Feb 2013
            • 39

            #6
            Update: to install libcurl I tried using the tips on this page: http://ubuntuforums.org/showthread.php?t=1774516

            I then tried to install cummeRbund, but I seem to be getting the same errors as before

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              Can you post the errors (or are they *exactly* the same as before)?

              Comment

              • cnyh
                Member
                • Feb 2013
                • 39

                #8
                After the download, this is what comes up:

                * 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
                No ability to remove finalizers on externalptr objects in this verison of R
                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/local/lib/R/site-library/XML’
                ERROR: dependency ‘XML’ is not available for package ‘biomaRt’
                * removing ‘/usr/local/lib/R/site-library/biomaRt’
                ERROR: dependency ‘XML’ is not available for package ‘rtracklayer’
                * removing ‘/usr/local/lib/R/site-library/rtracklayer’
                ERROR: dependencies ‘rtracklayer’, ‘biomaRt’ are not available for package ‘GenomicFeatures’
                * removing ‘/usr/local/lib/R/site-library/GenomicFeatures’
                ERROR: dependency ‘GenomicFeatures’ is not available for package ‘biovizBase’
                * removing ‘/usr/local/lib/R/site-library/biovizBase’
                ERROR: dependencies ‘rtracklayer’, ‘biomaRt’, ‘GenomicFeatures’, ‘biovizBase’ are not available fo
                r package ‘Gviz’
                * removing ‘/usr/local/lib/R/site-library/Gviz’
                ERROR: dependencies ‘rtracklayer’, ‘Gviz’ are not available for package ‘cummeRbund’
                * removing ‘/usr/local/lib/R/site-library/cummeRbund’

                The downloaded source packages are in
                ‘/tmp/RtmpFKAUMp/downloaded_packages’
                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 ‘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 ‘biovizBase’ had non-zero exit status
                6: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
                installation of package ‘Gviz’ had non-zero exit status
                7: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
                installation of package ‘cummeRbund’ had non-zero exit status

                From first glance it looks much the same, but I'm not sure.

                Comment

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #9
                  It appears that you will also need to install the development version of the libxml.

                  Code:
                  sudo apt-get install libxml2-dev
                  Then check
                  Code:
                  which xml2-config
                  in a terminal window to make sure it is in your path.

                  Comment

                  • cnyh
                    Member
                    • Feb 2013
                    • 39

                    #10
                    Ok, done. I get this output:

                    $ which xml2-config
                    /usr/bin/xml2-config

                    Is it relevant information that I am using screen, and switching between different windows in the screen?

                    Comment

                    • GenoMax
                      Senior Member
                      • Feb 2008
                      • 7142

                      #11
                      That is good. Try the R install now and post any new errors (hopefully none now).

                      Comment

                      • cnyh
                        Member
                        • Feb 2013
                        • 39

                        #12
                        It worked! Tested it with "cuff <- readCufflinks()", and it went through without any error messages!

                        You're brilliant, thank you ever so much!

                        Comment

                        • GenoMax
                          Senior Member
                          • Feb 2008
                          • 7142

                          #13
                          Excellent.

                          Comment

                          • dishasharma35
                            Junior Member
                            • Dec 2012
                            • 4

                            #14
                            hey.. you solution helpd me too.. but i am stuck in this step after R installtion for CummeRbund.. the error is :
                            nstalling package(s) into ‘/home/osdd/R/x86_64-pc-linux-gnu-library/2.13’
                            (as ‘lib’ is unspecified)
                            Warning message:
                            In getDependencies(pkgs, dependencies, available, lib) :
                            package ‘cummeRbund’ is not available (for R version 2.13.1)


                            I followed above solution but still geting the problem

                            Comment

                            • cnyh
                              Member
                              • Feb 2013
                              • 39

                              #15
                              My solution to this problem was to upgrade R to version 2.15.2. Also, are you installing using the following commands?

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

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                                by SEQadmin2


                                Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                                The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                                ...
                                Yesterday, 10:05 AM
                              • SEQadmin2
                                Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                                by SEQadmin2


                                With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                                Introduction

                                Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                                05-22-2026, 06:42 AM
                              • SEQadmin2
                                Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                                by SEQadmin2

                                Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                                Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                                05-06-2026, 09:04 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Yesterday, 12:03 PM
                              0 responses
                              19 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, Yesterday, 11:40 AM
                              0 responses
                              14 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 05-28-2026, 11:40 AM
                              0 responses
                              29 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 05-26-2026, 10:12 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...