Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sanwen
    Member
    • May 2010
    • 12

    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!
  • adamdeluca
    Member
    • Jul 2010
    • 95

    #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

    • sanwen
      Member
      • May 2010
      • 12

      #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

      • Zigster
        Jeremy Leipzig
        • May 2009
        • 117

        #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

        • sanwen
          Member
          • May 2010
          • 12

          #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

          • adamdeluca
            Member
            • Jul 2010
            • 95

            #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

            • sanwen
              Member
              • May 2010
              • 12

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

              Comment

              • adamdeluca
                Member
                • Jul 2010
                • 95

                #8
                Please post your solution for future reference.

                Comment

                • Robin
                  Member
                  • Nov 2009
                  • 10

                  #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

                  • ioatomis
                    Junior Member
                    • Jun 2012
                    • 1

                    #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

                    • vikas dahiya
                      Junior Member
                      • Mar 2014
                      • 3

                      #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

                      • dpryan
                        Devon Ryan
                        • Jul 2011
                        • 3478

                        #12
                        Is the computer connected to the internet?

                        Comment

                        • vikas dahiya
                          Junior Member
                          • Mar 2014
                          • 3

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

                          Comment

                          • vikas dahiya
                            Junior Member
                            • Mar 2014
                            • 3

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

                            Comment

                            • dpryan
                              Devon Ryan
                              • Jul 2011
                              • 3478

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

                              Comment

                              Latest Articles

                              Collapse

                              • mylaser
                                Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by mylaser
                                Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                                If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                                This guide explains everything you need to know about...
                                Today, 01:13 AM
                              • SEQadmin2
                                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by SEQadmin2



                                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                                ...
                                07-09-2026, 11:10 AM
                              • SEQadmin2
                                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                                by SEQadmin2



                                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                                07-08-2026, 05:17 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 07-09-2026, 10:04 AM
                              0 responses
                              13 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-08-2026, 10:08 AM
                              0 responses
                              10 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-07-2026, 11:05 AM
                              0 responses
                              19 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...