[R-sig-Debian] How to upgrade from 2.15.1 to 2.15.1 patched?

Paul Johnson pauljohn32 at gmail.com
Mon Sep 24 16:23:08 CEST 2012


Gosh, I hope I'm not out of date on this.  I think there is no "deb"
packaged version of R-patched. The patched version comes out very
often, and they don't intend it to go into the packaging based
distributions. It is still in testing, you know.

Here is what you should do to make a package. I have done this on
Debian, it will work.  Basically, you want to get the Debian packaging
materials, then replace the R version with the patched tarball, then
build. If you have never built a deb package before, this is a
learning & testing process for you, but basically, get the R packaging
source:

apt-get source r-base

Second, get the R-patched tarball, then Third, Copy the debian folder
inside the source folder to the R-patched folder. Then you may have to
fiddle the debian/changelog file to make it match the source. Then use
the package  builder.

That's an involved process. I should probably have written "if you
have not built a package  before, quit now and wait for an official R
release."

pj

On Sat, Sep 22, 2012 at 12:57 PM, Marius Hofert
<marius.hofert at math.ethz.ch> wrote:
>
>
> Michael Rutter <mar36 at psu.edu> writes:
>
>> On 09/22/2012 12:54 PM, Marius Hofert wrote:
>>> Hi,
>>>
>>> I would like to upgrade R-2.15.1 to R-2.15.1 patched (under Ubuntu 12.04). What's
>>> the recommended way to do so?
>>>
>>> I did the following steps for installing R under Ubuntu 12.04 (as far as I
>>> remember, Dirk Eddelbuettel recommended this and helped me on several occasions
>>> with the installation):
>>>
>>> 1) sudo emacs /etc/apt/sources.list
>>> 2) add:
>>>     deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu precise/
>>> 3) do:
>>>     gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
>>>     gpg -a --export E084DAB9 | sudo apt-key add -
>>> 4) do:
>>>     sudo apt-get update
>>>     sudo apt-get install r-base
>>>
>>> Cheers,
>>>
>>> Marius
>>
>> Marius,
>>
>> That should work.  Not sure what you mean by "patched" however.  Is there
>> something in particular you are hoping to get from the CRAN version of R for
>> Ubuntu?
>>
>> Michael
>
> Dear Michael,
>
> thanks for helping. The above steps only work for installing R-2.15.1 (from
> June), but how can I obtain the latest patched version? In the patched version,
> a couple of bugs were fixed, one of which affects me, that's why I would like to
> install the patched version. I used to install R from source, but I remember
> that Dirk did not recommend this (I had some troubles while doing so), so I was
> hoping that there is an "easy" (like the above) way to install the patched
> version.
>
> Cheers,
>
> Marius
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian



-- 
Paul E. Johnson
Professor, Political Science    Assoc. Director
1541 Lilac Lane, Room 504     Center for Research Methods
University of Kansas               University of Kansas
http://pj.freefaculty.org            http://quant.ku.edu



More information about the R-SIG-Debian mailing list