Hi,

Laurent and Laurent helped me solve exactly the same problem a few days
ago.

R.exe needs to be in the PATH environment variable. For more details:
http://sourceforge.net/mailarchive/forum.php?thread_name=1226070221.6870.96.camel%40hot-spring&forum_name=rpy-list

Cheers
Oliver




                                                                           
             "Warnes, Gregory                                              
             R."                                                           
             <[EMAIL PROTECTED]                                          To 
             ochester.edu>             "RPy help,  support and design      
                                       discussion list"                    
             12.11.2008 19:08          <rpy-list@lists.sourceforge.net>    
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
                "RPy help,             [Rpy] List index out of range       
                support and                                                
             design discussion                                             
                   list"                                                   
             <[EMAIL PROTECTED]                                             
              ourceforge.net>                                              
                                                                           
                                                                           




[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):
  File "<pyshell#1>", line 1, in <module>
    import rpy2.robjects as r
  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


Thanks,
Andrew

*************************

Dr. D. Andrew Carr
CARC 295 UNCC
9201 University City Blvd
Charlotte NC 28223
704-687-7494 (office)
704-687-6610 (fax)
-------------------------------------------------------------------------
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

Reply via email to