[R] Upgrading To 2.10 from 2.6.2

stephen's mailinglist account stephen4mailinglists at googlemail.com
Tue Dec 8 21:54:18 CET 2009


On Tue, Dec 8, 2009 at 8:52 PM, stephen's mailinglist account
<stephen4mailinglists at googlemail.com> wrote:
> On Tue, Dec 8, 2009 at 7:14 PM,  <Steve_Friedman at nps.gov> wrote:
>> Hi Stephen,
>>
>> After running the script
>>
>> sudo apt-get update
>> sudo apt-get install r-base
>>
>> I launch R and find the it still refers to R 2.6.2.
>>
>> How do I insure that R 2.10.0 is the active version of R ?
>>
>> Thanks for the help.
>>
>> Steve
>>
>>
>>
>> Steve Friedman Ph. D.
>> Spatial Statistical Analyst
>> Everglades and Dry Tortugas National Park
>> 950 N Krome Ave (3rd Floor)
>> Homestead, Florida 33034
>>
>> Steve_Friedman at nps.gov
>> Office (305) 224 - 4282
>> Fax     (305) 224 - 4147
>>
>>
>>
>>             "stephen's
>>             mailinglist
>>             account"                                                   To
>>             <stephen4mailingl         Iain Gallagher
>>             ists at googlemail.c         <iaingallagher at btopenworld.com>
>>             om>                                                        cc
>>                                       Steve_Friedman at nps.gov,
>>             12/08/2009 01:43          r-help at r-project.org
>>             PM                                                    Subject
>>                                       Re: [R] Upgrading To 2.10 from
>>                                       2.6.2
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Dec 8, 2009 at 6:24 PM, stephen's mailinglist account
>> <stephen4mailinglists at googlemail.com> wrote:
>>>
>>>
>>> On Tue, Dec 8, 2009 at 2:25 PM, Iain Gallagher
>> <iaingallagher at btopenworld.com> wrote:
>>>>
>>>> Hi Steve
>>>>
>>>> Have you tried:
>>>>
>>>> apt-cache search gfortran
>>>>
>>>> in a terminal window.
>>>>
>>>> Then
>>>>
>>>> sudo apt-get install theRelevantPackage
>>>>
>>>> I think you also need the Universe repos enabled.
>>>>
>>>> HTH
>>>>
>>>> Iain
>>>>
>>>> --- On Tue, 8/12/09, Steve_Friedman at nps.gov <Steve_Friedman at nps.gov>
>> wrote:
>>>>
>>>> > From: Steve_Friedman at nps.gov <Steve_Friedman at nps.gov>
>>>> > Subject: [R] Upgrading To 2.10 from 2.6.2
>>>> > To: r-help at r-project.org
>>>> > Date: Tuesday, 8 December, 2009, 13:38
>>>> >
>>>> > Hello
>>>> >
>>>> > I have a Linux machine (Ubuntu 8.04 hardy, Gcc version
>>>> > 4.2.4
>>>> > (i486-linux-gnu) currently running R 2.6.2. I'd like to
>>>> > upgrade to 2.10.
>>>> >
>>>> > First Question):  What is the appropriate way to
>>>> > remove the old version of
>>>> > R?
>>>> >
>>>> >
>>>> > Part 2.
>>>> >  After downloading  r-base_2.10.0.orig.tar.gz and
>>>> > opening the archive. I
>>>> > ran the ./configure routine.
>>>> >
>>>> > It failed claiming that it could not find the F77
>>>> > compiler.
>>>> >
>>>>
>> Apologies posted with some unintended HTML format which was scrubbed on
>> list
>>
>> repost
>>
>> Why not add the CRAN repository to your sources list in Ubuntu and let
>> your package manager (synaptic?/apt?) sort it out for you.  Version
>> 2.10 is available here for Hardy.  It is a good way to keep your
>> version of R up to date without worrying about what is happening with
>> the rest of your machine, which may be quite comfortably stable, and
>> it saves the hassle of you having to compile it yourself
>>
>> see pages at http://cran.r-project.org/bin/linux/ubuntu/
>>
>> You will need to add a line similar to the one below to
>> /etc/apt/sources.list
>>
>> deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu hardy/
>>
>> you could edit the file directly or do it via synaptic or Gnome menu
>> (system/admin)
>>  has an entry for software sources.
>>
>>
>>
>>
>
Did you see whether it installed 2.10?
 If you fired up synaptic and click on origin do you see a CRAN mirror
 site with some packages to be able to select?  If so is 2.10 amongst
 them?

have you added the gpg signing key?


-- 
Stephen




More information about the R-help mailing list