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
Is there some particular library in particular you'd like?
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.
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.