Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] R ebuild?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 417
Location: Melbourne, Australia

PostPosted: Thu Mar 05, 2009 10:03 am    Post subject: [SOLVED] R ebuild? Reply with quote

Is there an ebuild for the R language/environment already in portage? I assume not, because I have looked, but maybe it has another name. I've also looked in the science overlay, to no avail. Any help? I know how to build it myself, just want to make sure I haven't overlooked anything obvious. Thanks.

Last edited by Joseph K. on Sun Apr 19, 2009 2:50 am; edited 1 time in total
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Thu Mar 05, 2009 10:07 am    Post subject: Reply with quote

Code:
emerge -av R

_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 249

PostPosted: Thu Mar 05, 2009 10:14 am    Post subject: Reply with quote

And if you want a grafical interface

emerge sci-mathematics/rkward
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1426
Location: /uk/sheffield

PostPosted: Thu Mar 05, 2009 10:23 am    Post subject: Reply with quote

Slightly more usefully its under dev-lang/R

You'll no doubt be interested in some other packages such as app-emacs/ess (Emacs Speaks Statistics) which is perhaps the most popular way of interacting with R under GNU/Linux.

There is also the plethora of packages available at CRAN, and check out the Task Views (I used to co-maintain the Genetics one myself, but got fed up with the Giovanni Montana taking all the credit, but getting me to do all of the work, so gave up, he hasn't updated it since I left, despite me notifying him of several new packages :cry: ).

Currently there is no support for these under portage in the same was as say CPAN is supported, but you might get some mileage out of using Paludis, and there was a proposal to work on this as part of the Google Summer of code (see http://www.nabble.com/R-packages-from-CRAN--td16298845.html it might include a message I tried sending through Nabble, but wasn't accepted as the mirror does permit posting, so the link to the Google Summer of code proposal is http://www.nabble.com/Google-Summer-of-Code-td15825129.html#a19510253 ).

Personally I have the following under my roots ~/.Rprofile to set the CRAN mirror automatically...

/root/.Rprofile:

## Set the CRAN mirror
local({r <- getOption("repos"); r["CRAN"] <- "http://cran.uk.r-project.org/"; options(repos=r)})



When I want to install a package I simply su to root, fire up R (about the only time I ever do so outside of Emacs/ESS) and type

Code:

install.packages("foo", dependencies=TRUE)


When I want to update packages I also su to root, fire up R and type...

Code:

update.packages(ask=FALSE)


Have fun, and get yourself on the R-help mailing list, but note that you will be expected to have read and followed the posting guidelines. The archives (and their mirrors, in particular the Nabble one) are exceptionally useful.

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 417
Location: Melbourne, Australia

PostPosted: Thu Mar 05, 2009 11:47 am    Post subject: Reply with quote

Ahh, I forgot about the capital R! So when I did 'eix -e r', I got nothing. :) Thanks, especially slack---line.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Thu Mar 05, 2009 3:10 pm    Post subject: Reply with quote

Joseph K. wrote:
Ahh, I forgot about the capital R! So when I did 'eix -e r', I got nothing. :) Thanks, especially slack---line.


Also look in the science overlay for a newer version of R and all the deps....... and Rkward is useless, master the cli!!!
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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