> [Forwarded for David Carr]
>
> From: Carr, David [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 11, 2008 1:28 PM
>
> Hello all,
>
> I am preparing a lecture for next week... was going to introduce rpy2 to the
> class.
> But using the latest rc1  binary on Windows and I get the following errors.
> Please advise
>
>>>> import rpy2
>>>> import rpy2.robjects as r
> Traceback (most recent call last):
> ...
>     if R_HOME[0].startswith("WARNING"):
> IndexError: list index out of range

This error was recently discussed on the mailing list and fixed.
Basically rpy2 is having trouble locating R.

If you make sure the folder where R.exe was installed is on the
windows PATH environment variable (control
panel/system/advanced/environment
variables), or setup the R_HOME environment variable to point to this
folder, then it should work.

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

Reply via email to