Gentoo Archives: gentoo-science

From: Neil Shephard <nshephard@×××××.com>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] eclass for R
Date: Wed, 09 Sep 2009 07:51:12
Message-Id: 31b34fca0909090051k6ff34a3dk3b9fe715d9fb6f75@mail.gmail.com
In Reply to: Re: [gentoo-science] eclass for R by Donnie Berkholz
1 On Tue, Oct 21, 2008 at 6:53 PM, Donnie Berkholz<dberkholz@g.o> wrote:
2 > On 16:42 Tue 21 Oct     , Neil Shephard wrote:
3 >> On Tue, Oct 21, 2008 at 4:33 PM, Davide Cittaro
4 >> <davide.cittaro@×××××××××××××××.it> wrote:
5 >> > Hi all,
6 >> > Does anybody know if there is a ready-to-use eclass for R packages? In
7 >> > princible it should just run
8 >> > R CMD INSTALL ${P}
9 >> > once dowloaded, as CFLAGS and CC are inherited from the ones used for
10 >> > building R...
11 >> > Thanks
12 >> > d
13 >>
14 >> Not as far as I'm aware.  There was a proposal to have R package
15 >> support developed as part of the Google Summer of Code (see
16 >> http://www.nabble.com/Google-Summer-of-Code-td15825129.html) and there
17 >> is some support for R packages in paludis (see above and also
18 >> http://www.nabble.com/R-packages-from-CRAN--td16298845.html where you
19 >> got some similar responses).
20 >>
21 >> It would be very handy to have Gentoo (portage or paludis) support
22 >> CRAN packages in the same way CPAN is supported.  I don't have a clue
23 >> where to start though.
24 >
25 > As Neil says, one way to go for a generic solution would be to create
26 > something like app-portage/g-cpan. That avoids bloating the tree with
27 > hundreds of ebuilds that don't really do anything unique.
28 >
29 > This discussion seems familiar, so you might want to take a search
30 > through the archives of this list.
31
32 A few days ago app-portage/g-ctan was announced to the world (see
33 http://forums.gentoo.org/viewtopic-t-791722-highlight-.html .
34
35 I might try looking at this (and app-portage/g-cpan) to see how they
36 might be adapted for CRAN (http://cran.r-projec.org/)
37
38 Neil
39
40
41 --
42 "The combination of some data and an aching desire for an answer does
43 not ensure that a reasonable answer can be extracted from a given body
44 of data." ~ John Tukey (1986), "Sunset salvo". The American
45 Statistician 40(1).
46
47 Email - nshephard@×××××.com
48 Website - http://slack.ser.man.ac.uk/
49 Photos - http://www.flickr.com/photos/slackline/