Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544496 - support libraries for dev-lang/R as ebuilds
Summary: support libraries for dev-lang/R as ebuilds
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 19:19 UTC by Jonas Stein
Modified: 2015-04-05 06:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2015-03-25 19:19:46 UTC
GNU R supports to run 

> install.packages('ggplot2')

in the R console as user. The library ggplot2 will then be installed in users home. Most distros like debian and the like provide a package per library.

example:
https://packages.debian.org/sid/gnu-r/r-cran-ggplot2

More libraries can be found on http://cran.r-project.org/ 
It would be nice to have ebuilds for these in gentoo.

Reproducible: Always
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-03-27 17:27:19 UTC
Is there some particular library in particular you'd like?
Comment 2 Jonas Stein gentoo-dev 2015-03-28 11:18:48 UTC
the following packages would be a great start.
They are used by many R users:

install.packages("plyr") 
install.packages("Hmisc") 
install.packages("ggplot2") 
install.packages("reshape") 

Here is a list about the popularity
http://www.r-statistics.com/2013/06/top-100-r-packages-for-2013-jan-may/

Thank you.
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2015-04-05 06:56:36 UTC
Please, do not ever add R packages to the tree. There are thousands of them and they are mostly very badly written, to be polite. If you look at other distros you will see that they give an illusion of having some R packages, but almost all of them (if not all) are in an unmaintained state. The reason is that it's a massive amount of very frustrating and pointless work.

Upstream recommends to maintain your packages yourself in your $HOME and we'll go with that. I have sent patches a couple of years ago to fix the way this works, and now (as you can obviously see) it does work correctly on all distros, not just Gentoo. Also, real scientists usually like to lock down the exact versions of packages they use, which is not possible when they are maintained by a third party.

If you want to live on the edge then feel free to ask Benda Xu (heroxbd) for an access to the R overlay repository. It serves tens of thousands of ebuilds for R packages automatically converted from a number of sources. It mostly works, and helps in preserving a seemingly low but nonetheless functional level of mental sanity of your beloved volunteer developers.

That, or you maintain your own overlay of packages and have it added to layman.

Denis.