Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not in portage - R - Software for statistical computing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
DrKayBee
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2004
Posts: 143
Location: Columbus, OH

PostPosted: Thu May 13, 2004 1:54 pm    Post subject: Not in portage - R - Software for statistical computing Reply with quote

I've been looking for R (www.r-project.org) but it is not in portage. Also as per some other posts I tried to see if it is in bugs.gentoo.org but it is incredibly hard to search on just 'R'. What to do?

What does it take to write an ebuild on one's own?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu May 13, 2004 2:16 pm    Post subject: Reply with quote

Actually, it is, as dev-lang/R. (note the capital R.)
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Hayl
Guru
Guru


Joined: 28 Jan 2003
Posts: 442
Location: Calgary, Alberta, Canada

PostPosted: Thu May 13, 2004 2:21 pm    Post subject: Reply with quote

Code:
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/app-misc/R/R-1.9.0.ebuild,v 1.0 2004/05/12 17:02:15 ddicks Exp $

inherit eutils

DESCRIPTION="R - Statistical Computing"
HOMEPAGE="http://www.r-project.org/mail.shtml"
SRC_URI="http://probability.ca/cram/src/base/R-1.9.0.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="mpeg4"

DEPEND=""

src_unpack() {
        unpack ${A}
}

src_install() {
        einstall || die
        dodoc README
}


That is a start for you, it works and starts to compile but fails after a while on:

Code:
dataentry.c: In function `GetKey':
dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible pointer type
dataentry.c: In function `GetCharP':
dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible pointer type
dataentry.c: In function `doControl':
dataentry.c:1302: warning: passing arg 4 of `XLookupString' from incompatible pointer type
make[4]: *** [dataentry.lo] Error 1


I dont use the app so that is as far as I'm taking it. :) (it may even be failing because I have xorg, I dunno)

I didn't include deps in the ebuild either.

OOPS! Guess I shoudl have searched portage my self before posting it. Oh well, you have an example basic ebuild to make new ones from if you ever need to now :)
Back to top
View user's profile Send private message
DrKayBee
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2004
Posts: 143
Location: Columbus, OH

PostPosted: Thu May 13, 2004 2:53 pm    Post subject: Thanks both of you Reply with quote

R compiled fine with "emerge R"
It's still hard to look it up using the -S / -s option - and admittedly I should have simply done the obvious emerge R first. But I've been looking for it in app-sci, which is not where it is. Maybe we can put a pointer to dev-lang in there?

thanks again.
KB
Back to top
View user's profile Send private message
yuza
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 210
Location: Rome, in front of my comp...

PostPosted: Thu May 13, 2004 5:48 pm    Post subject: Reply with quote

I was also searching for R in portage a while ago... but when I found it in dev-lang I had already downloaded the source and compiled it myself :lol:
Really great piece of software by the way...
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Feb 01, 2006 7:18 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.

See https://forums.gentoo.org/viewtopic-t-129047.html
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum