Thanks for the help so far. I inserted the R executable in the Path, but I still get the same error.
Unfortunately, I don't know how to define the R_HOME environment variable as suggested in http://rpy.sourceforge.net/rpy2/doc/html/rinterface.html#initialization. Cheers Oliver laurent <[EMAIL PROTECTED]> wrote on 08.11.2008 07:28:14: > It "should work" with R-2.7.0. > > Two things might be happening here: > - A variable R_HOME is missing > http://rpy.sourceforge.net/rpy2/doc/html/rinterface.html#initialization > - The code in rinterface.__init__() does not handle the situation very > well and should return a more informative error message. > > > L. > > On Fri, 2008-11-07 at 23:01 -0500, laurent oget wrote: > > I think Rpy2 needs at least R 2.7.1 and this particular build was > > built and verified with R.2.7.2 > > > > Laurent Oget > > > > 2008/11/7 <[EMAIL PROTECTED]>: > > > Hi, > > > > > > I just tried out rpy2 for the first time: > > > > > > WinXP > > > Python 2.5.2 > > > Numpy 1.1.1 > > > R 2.7.0 > > > rpy2-2.0.0rc1 > > > > > > I get an error when trying this: > > > > > >>>> import rpy2.robjects as ro > > > > > > Traceback (most recent call last): > > > File "<pyshell#0>", line 1, in <module> > > > import rpy2.robjects as ro > > > File "C:\Python25\Lib\site-packages\rpy2\robjects\__init__.py", line 12, > > > in <module> > > > import rpy2.rinterface as rinterface > > > File "C:\Python25\Lib\site-packages\rpy2\rinterface\__init__.py", line 8, > > > in <module> > > > if R_HOME[0].startswith("WARNING"): > > > IndexError: list index out of range > > > > > > > > > Any ideas? Any help is appreciated. > > > > > > Cheers > > > Oliver > > > > > > > > > > > > > > > > > > laurent <[EMAIL PROTECTED]> wrote on 07.11.2008 16:03:41: > > > > > >> Hi, > > >> > > >> Laurent Oget (from Predictix) kindly contributed a win32 binary > > >> installer for Python2.5 / rpy2-2.0.0rc1. > > >> > > >> It was just uploaded to the sourceforge site. > > >> > > >> > > >> L. > > >> > > >> > > >> > > >> > > >> ------------------------------------------------------------------------- > > >> 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 > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer'schallenge > > 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