Revision: 711
          http://rpy.svn.sourceforge.net/rpy/?rev=711&view=rev
Author:   lgautier
Date:     2008-12-03 11:40:00 +0000 (Wed, 03 Dec 2008)

Log Message:
-----------
Fix for the cases where R_HOME is defined.

Modified Paths:
--------------
    rpy2/branches/version_2.0.x/NEWS
    rpy2/branches/version_2.0.x/rpy/rinterface/__init__.py

Modified: rpy2/branches/version_2.0.x/NEWS
===================================================================
--- rpy2/branches/version_2.0.x/NEWS    2008-12-03 03:07:58 UTC (rev 710)
+++ rpy2/branches/version_2.0.x/NEWS    2008-12-03 11:40:00 UTC (rev 711)
@@ -1,3 +1,14 @@
+
+Release 2.0.1
+=============
+
+Bugs fixed
+----------
+
+- Having the environment variable R_HOME specified resulted in an error
+  when importing :mod:`rpy2.rinterface` # root of the problem spotted by Peter
+
+
 Release 2.0.0
 =============
 

Modified: rpy2/branches/version_2.0.x/rpy/rinterface/__init__.py
===================================================================
--- rpy2/branches/version_2.0.x/rpy/rinterface/__init__.py      2008-12-03 
03:07:58 UTC (rev 710)
+++ rpy2/branches/version_2.0.x/rpy/rinterface/__init__.py      2008-12-03 
11:40:00 UTC (rev 711)
@@ -1,7 +1,7 @@
 import os, sys
 
 try:
-    R_HOME = os.environ["R_HOME"]
+    R_HOME = (os.environ["R_HOME"], )
 except KeyError:
     R_HOME = os.popen("R RHOME").readlines()
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to