Revision: 339
Author:   alain001
Date:     2006-08-18 07:19:22 -0700 (Fri, 18 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/rpy/?rev=339&view=rev

Log Message:
-----------
Moved some code so no longer necessary to have R/bin in PATH

Modified Paths:
--------------
    trunk/rpy/rpy.py
Modified: trunk/rpy/rpy.py
===================================================================
--- trunk/rpy/rpy.py    2006-08-08 19:29:50 UTC (rev 338)
+++ trunk/rpy/rpy.py    2006-08-18 14:19:22 UTC (rev 339)
@@ -81,6 +81,9 @@
 
 if sys.platform=='win32':
     import win32api
+    os.environ['PATH'] += ';' + os.path.join(RHOME,'bin')
+    os.environ['PATH'] += ';' + os.path.join(RHOME,'modules')
+    os.environ['PATH'] += ';' + os.path.join(RHOME,'lib')
 
     # Load the R dll using the explicit path
     # First try the bin dir:
@@ -100,9 +103,6 @@
         print "Done."
         sys.stdout.flush()
 
-    os.environ['PATH'] += ';' + os.path.join(RHOME,'bin')
-    os.environ['PATH'] += ';' + os.path.join(RHOME,'modules')
-    os.environ['PATH'] += ';' + os.path.join(RHOME,'lib')
 
 # load the version of rpy that matches the verison of R we're using
 if VERBOSE:


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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to