On Mon, Dec 1, 2008 at 11:37 PM, Marcos Silva <[EMAIL PROTECTED]> wrote: > Hi folks. I installed RPy2 on Windows and tried the test suggested in RPy2 > page: > >>>> import rpy2.tests > Traceback (most recent call last): > File "<interactive input>", line 1, in <module> > File "C:\Program Files\Python25\Lib\site-packages\rpy2\tests.py", line 3, > in <module> > import rpy2.robjects.tests > File "C:\Program > Files\Python25\Lib\site-packages\rpy2\robjects\__init__.py", line 12, in > <module> > import rpy2.rinterface as rinterface > File "C:\Program > Files\Python25\Lib\site-packages\rpy2\rinterface\__init__.py", line 52, in > <module> > raise RuntimeError("Unable to locate R.dll within %s" % R_HOME) > RuntimeError: Unable to locate R.dll within C >>>> > > Someone has any idea of what is happening?
It looks like R_HOME has been detected as "C" rather than something like "C:\Program Files\....". This could be bug as there have been some changes to this code recently. A few relevant questions: Did you setup an R_HOME environment variable? Is R on your path? When you installed R, did you let it record its location in the registry? (the default) Do you have the python module win32api installed? 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