Dear all,
I've just got a new computer, and would like to install R and several of the packages withing R, with the ultimate goal of running the cummeRbund package.
The operating system is Ubuntu 14.04 LTS. I installed R through the 'sudo apt-get install' command (R version 3.0.2 (2013-09-25) -- Frisbee Sailing.
When I try to use biocLite to install other packages, this doesn't work. It seems like nothing is going on, no error messages on the screen. When I wait long enough, it shows the error message: biocLite not found.
So far, I couldn't really find a way to install the biocLite separately, if that is even possible.
See the command below: the terminal gets blocked for like half an hour, than it says: unable to connect to bioconductor.
lien@lien:~$ sudo R
[sudo] password for lien:
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-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")
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
unable to connect to 'www.bioconductor.org' on port 80.
>
Alternatively, when I already ask for the biocLite, it says "could not find function "biocLite"".
lien@lien:~$ sudo R
[sudo] password for lien:
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-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")
biocLite('cummeRbund')
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
unable to connect to 'www.bioconductor.org' on port 80.
> biocLite('cummeRbund')
Error: could not find function "biocLite"
>
Not being an informatician, but really needing the R installation, all suggestions are welcome.
Thanks,
Lien
Why
sudo R
? Try justR
I thought you needed
sudo R
if you wanted to install some packages?Not really. Try without the sudo.