Mon, 11 Oct 2004

Three-character patch for Rpy to build under R 2.0.0

As we mentioned here before, R 2.0.0 is out and in Debian. Graham reminded us about the need for a fresh version of Rpy. It turns out that a minor patch is needed to adjust for the new location of libR.so:
--- rpy-0.3.5.orig/setup.py
+++ rpy-0.3.5/setup.py
@@ -54,7 +54,7 @@
 RHOME = get_R_HOME()
 DEFINE.append(('R_HOME', '"%s"' %RHOME))

-r_libs = os.path.join(RHOME, 'bin')
+r_libs = os.path.join(RHOME, 'lib') # edd 11 Oct 2004: changed to 'lib' for 2.0.0
 source_files = ["src/rpymodule.c", "src/R_eval.c",
                 "src/io.c"]
 if sys.platform=='win32':

which may be useful to someone else trying to update RPy.

Update: Greg just told me by email that the fix is in CVS too, so a new RPy will have it.

/computers/R | permanent link