[R] R-help Digest, Vol 75, Issue 28

Ista Zahn istazahn at gmail.com
Thu May 28 14:49:06 CEST 2009


> >> From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
> >> To: "R Heberto Ghezzo, Dr" <heberto.ghezzo at mcgill.ca>
> >> Date: Wed, 27 May 2009 09:00:44 -0700
> >> Subject: Re: [R] R in Ubunto
> >> R Heberto Ghezzo, Dr wrote:
> >>
> >>    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?
>
>>> From: stephen sefick <ssefick at gmail.com>
>>> To: "R Heberto Ghezzo, Dr" <heberto.ghezzo at mcgill.ca>
>>> Date: Wed, 27 May 2009 11:51:25 -0400
>>> Subject: Re: [R] R in Ubunto
>>> 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 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.

I'm running the latest Ubuntu version, and I get the latest version of
R no problem. I see that
http://probability.ca/cran/bin/linux/ubuntu/hardy/ does list R 2.9.0,
so it seems to me that if the repository was correctly added you
should get it. Were there any errors when you ran sudo apt-get update?
Also, I second the idea of activating the backports repository.

-Ista




More information about the R-help mailing list