Skip to content

R in Ubunto

4 messages · R Heberto Ghezzo, Dr, stephen sefick, Jeff Newmiller +1 more

#
Hello , I do not know anything abount Ubunto, but I found a Portable Ubunto for Windows and since so many people
prefer Linux to Windows I decided to give it a try.
It runs very nicely, so I tried to load R, following Instructions in CRAN I added the line
deb http://probability.ca/cran/bin/linux/ubuntu hardy/ to /etc/apt/sources.list and then from a console
I did
sudo apt-get update
sudo apt-get install r-base
a lot of printout and when it inishes I typed R in the console and surprise!
I got R 2.6.2!! in Windows I have R 2.9.0??
Did I do something wrong or there is another way to get the latest version of R?
Thanks for any help
Heberto Ghezzo Ph.D.
Biostatistique medical
Montreal - Canada
#
I don't remember what the version of R in deb repositories is, but
2.6.2 is probably about right.  One of the things the Debian project
is focused on is the stability of the operating system, so they do not
update packages as readily as some other distributions.  I had this
with Debian 5.0 and just decided to compile R from source after
getting the R development package and some x11 development libraries.

sudo apt-get install r-base-dev


I can help you through this process if you like, or there are good
instructions for this process at the R website.

FAQ 2.5.1 How can R be installed (Unix)

On Wed, May 27, 2009 at 11:35 AM, R Heberto Ghezzo, Dr
<heberto.ghezzo at mcgill.ca> wrote:

  
    
#
R Heberto Ghezzo, Dr wrote:
On the web page

   http://probability.ca/cran/bin/linux/ubuntu/

it presents instructions for activating this repository.  Special
instructions are included for hardy regarding activating backports
also.
#
R Heberto Ghezzo, Dr pisze:
use cran mirror:
for canada it could be:

http://cran.stat.sfu.ca/

   deb http://cran.stat.sfu.ca/bin/linux/ubuntu <http://%3Cmy.favorite.cran.mirror%3E/bin/linux/ubuntu> hardy/

you will have 2.9.0