set R_HOME=C:\Program Files\R\R-2.8.0 should fix this. It looks like your R_HOME variable is set, but set to a wrong value.
2008/12/1 Marcos Silva <[EMAIL PROTECTED]>: > Hi Peter, > > The responses to your questions are: > > 1. No, I did not setup R_HOME. By the way, how can I do this? > > 2. Yes, R is in my path. My path is as follow: > C:\RTools\bin;C:\RTools\perl\bin;C:\Program Files\HTML Help > Workshop;C:\Program Files\R\R-2.8.0\bin; > C:\Program Files\MiKTeX 2.5\miktex\bin;C:\PROGRA~1\R\GTK\bin;C:\Program > Files\Python25\; > C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem; > C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\ggobi > > 3. Yes. R is in my registry > > 4. I have Python 2.5 ActiveState distribuition installed. How can I see if I > have this module > installed? > > > Thanks, for your help. > > > > 2008/12/1 Peter <[EMAIL PROTECTED]> >> >> 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 > > > > -- > Marcos F. Silva > http://marcosfs2006.googlepages.com > > ------------------------------------------------------------------------- > 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 > > ------------------------------------------------------------------------- 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