[R-sig-Debian] tangential from "tkrplot does not install"

Dirk Eddelbuettel edd at debian.org
Sun Nov 6 20:38:53 CET 2011


On 6 November 2011 at 13:20, John C Nash wrote:
| >From my own experiences I can understand how the confusion on how to install comes about.
| Two thoughts arise from this:
| 
| 1) A couple of years ago I wondered out loud if there was a way to write a
| my.install.packages() to first check if there is a debian packaging and do a
| 
|   system(sudo apt-get ...)
| 
| else the regular install.packages(). At that time I believe the issue was detecting the
| debian packages, but memory may be faulty.

Just sit down and code it. 

There is an API to apt, so you need to write something that interfaces this
API in one of the supported languages (probably C, C++, Python, ...)

This may make for a decent Summer of Code project for 2012 too.
 
| 2) If there are tutorials around on how to do the debian packaging for r packages and
| contribute to the repository. I'd be willing to do some packaging e.g., of my own and
| related optimization packages.
| 
| Do either of these have reasonable possibilities of being realizable, or am I dreaming in
| vivid colours?

You probably want to look at Michael Rutter's presentation about "c2d4u" at
useR in Warwick. Not sure if the slides are up, but here is his abstract:
http://www.warwick.ac.uk/statsdept/useR-2011/abstracts/270211-ruttermichael.pdf

He has picked up from what Charles and I did for Debian a while back, and I
believe he has pretty full coverage on Ubuntu.

Dirk

| 
| JN
| 
| 
| On 11/06/2011 01:12 PM, Dirk Eddelbuettel wrote:
| > 
| > On 6 November 2011 at 09:55, Stefan Th. Gries wrote:
| > | > No you were missing the fact that we provide this precompiled for you.
| > | All I can say is that it worked with a simple install.packages only
| > | after I installed tcl8.5-dev so I am not sure what your last comment
| > | is supposed to tell me but thx anyway!
| > 
| > Allow me to self-quote:
| > 
| >     From: Dirk Eddelbuettel <edd at debian.org>
| >     To: "Stefan Th. Gries" <stgries at gmail.com>
| >     Cc: r-sig-debian at r-project.org
| >     Subject: Re: [R-sig-Debian] tkrplot does not install
| >     Date: Sun, 6 Nov 2011 10:32:11 -0600
| >     
| >     
| >     You'd be better off first checking if the package exists, as it does here:
| >     
| >       sudo apt-get install r-cran-tkrplot
| >     
| >     which will get you tkrplot pre-built. Doesn't get much easier.
| >     [...]
| > 
| > But if you didn't grok that that 90 minutes ago, I am probably still wasting
| > a few bits in vain with this.  
| > 
| > Oh well , "l'espoir fait vivre."  Maybe it'll help someone else.
| > 
| > Dirk
| > 

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx



More information about the R-SIG-Debian mailing list