On Fri, 2009-03-20 at 12:00 +0100, r-sig-debian-request at r-project.org wrote:> On 19 March 2009 at 10:08, tyler wrote: > | > I recently switched to Debian testing OS and explanation at the: > | > http://cran.at.r-project.org/bin/linux/debian/ > | > is a little bit fuzzy. Can anyone give step-by-step how-to have > updated > | > R on Debian testing and/or unstable. > | > | If you're already running testing, you don't need to add anything to > | your sources.list. All the R packages are there, and they'll be > mostly > | up to date for the foreseeable future. Generally, when new R > versions > | and packages are released, they get put into unstable within a few > days, > | and migrate to testing within a couple of weeks. > > Well, yes, but > > a) sometimes releases or library transitions happen which makes the > 'ten day' > rule inapplicable. R 2.8.* took months to reach testing, which is why > the > CRAN port is offered. > > b) that said, you can often get R from Debian unstable onto testing. I > do > that, but that is a more advanced route than what you asked.So, that would mean: deb http://http.us.debian.org/debian/ unstable main contrib non-free> | You only need to add lines to your sources.list if you run stable, > which > | doesn't get updated, or if you're running testing close to the time > of a > | new release. Which is probably 12 to 18 months off at least. > > c) You can also add the CRAN "stable" port to run _current R release_ > on > Debian testing via CRAN, just what Petar asked for. Given that these > were > built on 'stable' it is highly likely that they will work on > 'testing'. > > So use the lines Paul sent to r-help in response to your earlier post: > > # Add R-repository > deb http://cran.at.r-project.org/bin/linux/debian etch-cran/ > deb-src http://cran.at.r-project.org/bin/linux/debian etch-cran/And what about: deb http://cran.at.r-project.org/bin/linux/debian lenny-cran/ deb-src http://cran.at.r-project.org/bin/linux/debian lenny-cran/ They are in CRAN now.> > You want to pair up with a local Debian user to ask such 'how do I ..' > questions over a coffee...I might miss something here... Debian users are rare here... But I am always for coffee... Best, PM
Dirk Eddelbuettel
2009-Mar-20 12:55 UTC
[R-sig-Debian] R-SIG-Debian Digest, Vol 43, Issue 2
On 20 March 2009 at 12:34, Petar Milin wrote: | > b) that said, you can often get R from Debian unstable onto testing. I | > do | > that, but that is a more advanced route than what you asked. | | So, that would mean: | deb http://http.us.debian.org/debian/ unstable main contrib non-free Yes -- but be careful to also exclude automtic upgrades or you find yourself with a Debian unstable system instead of testing. The key phrase is 'apt-pinning' -- Google it and read some of the tutorials. But as I said, this is more advanced material to may want to skip this for now. | > So use the lines Paul sent to r-help in response to your earlier post: | > | > # Add R-repository | > deb http://cran.at.r-project.org/bin/linux/debian etch-cran/ | > deb-src http://cran.at.r-project.org/bin/linux/debian etch-cran/ | | And what about: | deb http://cran.at.r-project.org/bin/linux/debian lenny-cran/ | deb-src http://cran.at.r-project.org/bin/linux/debian lenny-cran/ | They are in CRAN now. Yes. Updates, corrections, patches, ... to the README would also be welcome. Dirk -- Three out of two people have difficulties with fractions.