RE: [gentoo-dev] ebuild of R From: "Tod M. Neidt" <tod@gentoo.org> To: Dong Chen <dchen@ee.duke.edu> Date: 12 Apr 2002 16:32:06 -0500Hi Dong! On Fri, 2002-04-12 at 13:38, Dong Chen wrote: > Tod, > > Thanks for you encouragement. I hope the daily_release version be available > someday. In this email, I just want to indicate two things for R ebuild. I wish the R developers would change their bug fix patch releases to something more compatible to gentoo :) Like a once a month patch that is versioned, i.e R-1.4.1-20020401.patch.gz. As this would make our life much easier :) > The first thing is that when I use R in gentoo, I found that some CONTENTS > files such as /usr/lib/R/library/eda/CONTENTS was not available and caused > some error messages when I started help.start(). I guess this may due to > the parallel make in R's ebuild. When I change the emake to make, the file > just get correctly installed. I don't know if it is really a problem or due > to some earlier mistake I have done. I can't duplicate this. (once I set galeon per your info below, help.start() works ffor me) Might need further investigation though. > > The other thing is about the netscape thing you have listed in the > Changelog. I found that it only need you to change the word "netscape" in > file /usr/lib/R/library/base/R/Rprofile to "mozilla" to make use of mozilla > instead of netscape. You can change the file > src/library/profile/Rprofile.unix in source package to make the same change. Hey, cool! It works for galeon too. It seems Rprofile can be a user config file too (like .bashrc). I don't know offhand if Gentoo uses a ENV variable to specify browser, i.e. BROWSER="galeon", so we could grab that value and insert it into the system Rprofile. If not we could einfo in pkg_postinst, to tell the user to copy Rprofile to their home directory and configure for their preferences
I don't know if I should open a new bug for this (or whether one already exists - searching bugzilla for "R" brings up quite a few results...). R 1.5.0 has been out since the end of April. Simply copying dev-lang/R-1.4.1-r1.ebuild to R-1.5.0.ebuild seems to work for me. It would also be nice if the R ebuild included the recommended packages (http://cran.r-project.org/src/base/R-1.5.0-recommended.tgz), but R CMD INSTALL only seems to install in the existing R location, rather than the /var/tmp/portage location required by ebuild.
To follow up to this, R 1.5.1 is now out. Here is an e-build, and a patch to fix the tcl/tk interface.
Created attachment 1577 [details] R 1.5.1 ebuild
Created attachment 1578 [details, diff] R 1.5.1 tcltk patch
*** This bug has been marked as a duplicate of 4431 ***