Hi Laurent, There have been a couple of threads recently about rpy2 having trouble locating R on Windows. I have a suggestion to improve the situation...
By default the R installer will record the R paths in the registry, but R is not added to the PATH, nor is the R_HOME environment variable setup. Therefore for the average Windows installation, using the registry is the best way to determine where R is (as this requires no manual setup!). Looking at SVN, it seems rpy2 isn't taking advantage of the win32api module (if installed) to ask the Windows registry where R is installed. See rpy/rpy_tools.py for how to do this. I contributed this code 3 years ago which is why I thought to check for rpy2 as well (see rpy.py revision 186). Peter ------------------------------------------------------------------------- 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