Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • install problem with R/bioconductor

    Dear all,
    I use linux system. I try to use Myrna, it need to work with R/Bioconductor. I have trouble when install Bioconductor.
    In an R command window, I type the following:
    source("http://bioconductor.org/biocLite.R")

    But it shows:
    Error in source("http://bioconductor.org/biocLite.R");
    http://bioconductor.org/biocLite.R:1:1: unexpected '<'
    1; <
    ^


    I don't known why? Can anybody help me? Thanks a lot!

  • #2
    try a wget from your linux machine.
    Code:
    wget http://bioconductor.org/biocLite.R
    Do you get a file like this?
    Code:
    source("http://bioconductor.org/getBioC.R")
    
    biocLite <- function(pkgs, groupName="lite", ...)
    {
        if (missing(pkgs))
            biocinstall(groupName=groupName, ...)
        else
            biocinstall(pkgs=pkgs, groupName=groupName, ...)
    }

    Comment


    • #3
      Originally posted by adamdeluca View Post
      try a wget from your linux machine.
      Code:
      wget http://bioconductor.org/biocLite.R
      Do you get a file like this?
      Code:
      source("http://bioconductor.org/getBioC.R")
      
      biocLite <- function(pkgs, groupName="lite", ...)
      {
          if (missing(pkgs))
              biocinstall(groupName=groupName, ...)
          else
              biocinstall(pkgs=pkgs, groupName=groupName, ...)
      }
      Hi adamdeluca, yes, i get a file biocLite.R, and then, how to install? I am sorry that i am not familiar with linux

      Comment


      • #4
        Originally posted by sanwen View Post
        Dear all,
        I use linux system. I try to use Myrna, it need to work with R/Bioconductor. I have trouble when install Bioconductor.
        In an R command window, I type the following:
        source("http://bioconductor.org/biocLite.R")

        But it shows:
        Error in source("http://bioconductor.org/biocLite.R");
        http://bioconductor.org/biocLite.R:1:1: unexpected '<'
        1; <
        ^


        I don't known why? Can anybody help me? Thanks a lot!
        are you behind an http-proxy?
        --
        Jeremy Leipzig
        Bioinformatics Programmer
        --
        My blog
        Twitter

        Comment


        • #5
          Originally posted by Zigster View Post
          are you behind an http-proxy?
          Maybe not. I use Putty to login a super computer server (linux system).

          Comment


          • #6
            If the server is behind an http proxy, it could be inserting text into the R code that is being retrieved with the source() call. The invalid '<' first character just screams HTML. That's why I had you try the wget command.

            Comment


            • #7
              I have solved the problem.
              Thank adamdeluca and Zigster 's warm heart

              Comment


              • #8
                Please post your solution for future reference.

                Comment


                • #9
                  install bioconductor in R

                  I have the exactly problems here. When I run source command in R, and I got the error message as follow:

                  > source("http://bioconductor.org/biocLite.R")
                  Error in file(file, "r", encoding = encoding) :
                  cannot open the connection
                  In addition: Warning message:
                  In file(file, "r", encoding = encoding) :
                  unable to resolve 'bioconductor.org'

                  When I run wget command on my Linux machine, and I got the same output as follow:

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

                  biocLite <- function(pkgs, groupName="lite", ...)
                  {
                  if (missing(pkgs))
                  biocinstall(groupName=groupName, ...)
                  else
                  biocinstall(pkgs=pkgs, groupName=groupName, ...)
                  }


                  What is the problem here? Can you give me some help?

                  Thank
                  R

                  Comment


                  • #10
                    I had the same problem as above when using Rstudio launched from a launcher on a Linux machine
                    > source("http://bioconductor.org/biocLite.R")
                    Error in source("http://bioconductor.org/biocLite.R") :
                    http://bioconductor.org/biocLite.R:1:1: unexpected '<'
                    1: <
                    ^
                    The problem was the proxy settings - I had already set the proxy in my .bashrc
                    export http_proxy=http://[proxy]
                    and when launching R or Rstudio from a console I had no problems.

                    Comment


                    • #11
                      installation problem in Bioconductor

                      Hi all,
                      I am facing a problem in installing bioconductor when i am typing source("http://bioconductor.org/biocLite.R") command in R 3.0.2. the error is shown below:

                      Error in file(filename, "r", encoding = encoding) :
                      cannot open the connection
                      In addition: Warning message:
                      In file(filename, "r", encoding = encoding) :
                      unable to resolve 'bioconductor.org'

                      Pleeees help me out.

                      Comment


                      • #12
                        Is the computer connected to the internet?

                        Comment


                        • #13
                          Yes, devon ryan. It was connected with internet.

                          Comment


                          • #14
                            Sorry !! I didn't mention that I am working on windows and not on linux.

                            Comment


                            • #15
                              Presumably you're behind a firewall or proxy of some sort. Contact your local network administrator.

                              Comment

                              Latest Articles

                              Collapse

                              • seqadmin
                                Strategies for Sequencing Challenging Samples
                                by seqadmin


                                Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                                03-22-2024, 06:39 AM
                              • seqadmin
                                Techniques and Challenges in Conservation Genomics
                                by seqadmin



                                The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                                Avian Conservation
                                Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                                03-08-2024, 10:41 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by seqadmin, Yesterday, 06:37 PM
                              0 responses
                              12 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, Yesterday, 06:07 PM
                              0 responses
                              10 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-22-2024, 10:03 AM
                              0 responses
                              51 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-21-2024, 07:32 AM
                              0 responses
                              68 views
                              0 likes
                              Last Post seqadmin  
                              Working...
                              X